Peter Wemm
4f52fbb1d8
Check for missing static unit 'count' declarations as well.
2002-07-21 23:02:35 +00:00
Peter Wemm
775d6c0ece
Check that we are not supplying 'device foo N' to devices that do not take
...
a statuc unit count.
2002-07-21 22:23:56 +00:00
Joerg Wunsch
288fa14ac4
Try to give a more descriptive error message for the pilot error of
...
attempting to export the non-root of a filesystem with -alldirs. This
pilot error seems to be very common, and the "could not remount" error
message doesn't give much hints about the real reason. See the old PR
below for an example.
While i was at it, make it possible to entirely omit the often
annoying error message in that case by specifying the "quiet" exports
flag. This allows to specify something like
/cdrom -alldirs,ro,quiet <where to export to>
which will silently fail if nothing is mounted under /cdrom, but do
the rigth thing as soon as you mount something.
While doing this, i've put the embedded example in the exports(5) man
page into a subsection of its own as it ought to be.
Thanks for Paul Southworth for reminding me about this problem.
PR: bin/4448
MFC after: 1 month
2002-07-18 20:52:17 +00:00
Brian Somers
f4359ccbbc
Remove unused calls to inet_addr()
2002-07-18 18:50:05 +00:00
Ruslan Ermilov
0b87f79976
s/${INSTALL} -c/${INSTALL} ${COPY}/
2002-07-18 12:07:49 +00:00
Peter Wemm
754a3615a0
This is a userland tool, not a kernel component or libstand client.
2002-07-17 23:41:58 +00:00
David Malone
999feccf15
Fix a spelling mistake.
...
PR: 40695
Submitted by: Maxim Maximov <mcsi@agava.com>
MFC after: 1 week
2002-07-17 16:22:24 +00:00
Garance A Drosehn
dd8faa9ff2
Changes which rewrite 'lpc topq', and which add 'lpc bottomq'. These
...
reflect much valuable feedback from wollman. More details on the new
'lpc topq' are in the log message for revision 1.2 of lpc/movejobs.c.
The previous implementation of 'lpc topq' is available as 'lpc xtopq',
in case there are any problems noticed in the new implementation. If
there are no problems with this version, a later update will remove the
'lpc xtopq' command.
Reviewed by: freebsd-print@bostonradio.org
MFC after: 6 days
2002-07-17 00:51:19 +00:00
Dag-Erling Smørgrav
c0cb106043
Unbreak Alpha build.
2002-07-16 09:58:36 +00:00
Alfred Perlstein
09ce4f7aaf
Add IPv6 support.
...
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
2002-07-15 19:40:23 +00:00
Alfred Perlstein
d14ca883cb
add support for rpc IPv6 (rpc/udp/46 ...)
...
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
2002-07-15 19:09:33 +00:00
Alfred Perlstein
45ea00ee87
use getaddrinfo() instead of gethostbyname().
...
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
2002-07-15 19:02:45 +00:00
Alfred Perlstein
ae23eaed6e
Nuke unused variable.
2002-07-15 19:00:34 +00:00
Alfred Perlstein
5a9d606d4b
do not call clnt_spcreateerror nor clnt_sperror with a NULL pointer, instead
...
pass an empty string.
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
2002-07-15 18:53:52 +00:00
Alfred Perlstein
af37179b5f
Port to TI/RPC and/or IPV6.
...
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
2002-07-15 18:51:57 +00:00
Alfred Perlstein
91acb349c9
If an RPC fails, try a shorter reply in case the fault lies with the
...
size of the response.
PR: misc/26320
MFC After: 2 weeks
2002-07-15 18:34:27 +00:00
Alfred Perlstein
19d02d39c9
de-__P().
...
WARNS=4 cleanup:
include headers needed.
don't initialize char * with const char *.
fix main() declaration.
fix shadowed variable.
properly cast tcpcb members for printf(3) output.
remove 'register'.
remove unused arg.
Reviewed by: tmm, bde
2002-07-15 17:44:34 +00:00
Dag-Erling Smørgrav
987c23f536
Comment out WARNS?=4 to unbreak the Alpha build.
2002-07-15 17:11:20 +00:00
Dag-Erling Smørgrav
72d78aeaeb
Get rid of %qd, and unbreak Alpha build.
2002-07-15 16:05:15 +00:00
Dag-Erling Smørgrav
b3f379f65f
Get rid of %qd, and unbreak Alpha build.
2002-07-15 12:17:31 +00:00
Philippe Charnier
490d5836b5
The .Nm utility
2002-07-14 14:47:15 +00:00
Bruce Evans
8365569883
Moved the setting of all profiling-related variables except the key one
...
(PROFLEVEL) to kern.pre.mk so that it is easier to manage. Bumped config
version to match.
Moved the check for cputype being configured to a less bogus place in
mkmakefile.c.
2002-07-13 19:36:14 +00:00
Garance A Drosehn
cc2b61b1dd
Call routine to free everything obtained when filling in 'struct printer'.
...
MFC after: 3 days
2002-07-12 01:53:36 +00:00
Garance A Drosehn
722915cdec
Fix set_qstate() so it correctly checks for any error from chmod().
...
Note that set_qstate() is only called from several 'lpc' commands.
MFC after: 3 days
2002-07-12 01:37:06 +00:00
Garance A Drosehn
4c2a399167
Add a SQS_QCHANGED option to set_qstate(). This will soon be used by 'lpc'.
...
Reviewed by: freebsd-print@bostonradio.org
MFC after: 3 days
2002-07-12 01:31:46 +00:00
Garance A Drosehn
bae8d45c7f
Add two variables to struct jobqueue, and change the way that getq()
...
calculates how much space to get for that struct, so it will get the
right amount when new variables are added.
MFC after: 3 days
2002-07-12 01:22:57 +00:00
Garance A Drosehn
d6771428c4
Move prototypes for ctl_readcf and ctl_freeinf from ctlinfo.c to ctlinfo.h,
...
so the routines can be called by an upcoming change for 'lpc topq/bottomq'.
MFC after: 3 days
2002-07-12 00:33:07 +00:00
Alfred Perlstein
39d4ee3fee
WARNS=2, de-__P()
2002-07-11 22:50:36 +00:00
Alfred Perlstein
1fb354a1b2
WARNS=4, de-__P()
2002-07-11 22:29:11 +00:00
Alfred Perlstein
54b60d7e15
Fix indentation broken in previous __P removal.
...
Grumbled about by: bde
2002-07-11 22:18:26 +00:00
Alfred Perlstein
7fa658d98b
WARNS=4, de-__P()
2002-07-11 22:11:20 +00:00
Alfred Perlstein
261755738e
WARNS=4, de-__P()
2002-07-11 21:40:15 +00:00
Alfred Perlstein
c8c710fd85
de-__P()
2002-07-11 21:28:16 +00:00
Alfred Perlstein
d8c965959f
WARNS=4, de-__P()
2002-07-11 21:26:41 +00:00
Alfred Perlstein
f251a0df8b
WARNS=4
2002-07-11 21:18:55 +00:00
Alfred Perlstein
2f9af24198
WARNS=4 cleanup, de-__P()
2002-07-11 21:16:52 +00:00
Alfred Perlstein
65f507d197
de-__P()
2002-07-11 21:13:37 +00:00
Alfred Perlstein
4f5d913371
WARNS?=4 cleanup.
2002-07-11 21:12:18 +00:00
Alfred Perlstein
b6528e647b
de-__P()
2002-07-11 20:53:56 +00:00
Robert Drehmel
94fed363fe
Use the length modifier 'l' when supplying an argument of
...
type long to printf(3).
2002-07-11 20:10:07 +00:00
Robert Drehmel
a89c0b2458
- Remove unnecessary inclusion of <utmp.h>.
...
- Cast a value to time_t before comparing it to another
time_t to fix a warning.
2002-07-11 20:01:36 +00:00
Alfred Perlstein
379e7b73a6
de-__P()
2002-07-11 19:07:35 +00:00
Alfred Perlstein
ef6d75ff7d
mark unused variable.
2002-07-11 18:45:59 +00:00
Alfred Perlstein
5c9c274a5f
conditionally set WARNS via ?=.
2002-07-11 18:45:14 +00:00
Alfred Perlstein
67d357f89b
fixup for WARNS=4.
2002-07-11 18:42:53 +00:00
Alfred Perlstein
d89167b4ea
de-__P()
2002-07-11 18:31:16 +00:00
Bruce Evans
729cce8403
Set NO_WERROR to ignore the following warning which is emitted on
...
alphas:
.../elf2aout.c:130: warning: cast increases required alignment of
target type
The warning is about casting ((char *)e + phoff) to a struct pointer,
where e is aligned but phoff might be garbage, so I think the warning
should be emitted on most machines (even on i386's, alignment checking
might be on) and the correct fix would involve validation phoff before
using it.
2002-07-11 18:06:09 +00:00
Alfred Perlstein
bf117eda42
make mostly WARNS=4 clean.
...
constify, mark unsued args, fixup prototypes.
2002-07-11 17:55:14 +00:00
Alfred Perlstein
7a8d51f860
Log the IP of the machine if an invalid host is passed over the wire.
...
PR: bin/29406
2002-07-11 17:44:59 +00:00
Alfred Perlstein
a2015ce534
Fix return values in the sm_notify_1 service routine to return an answer
...
most of the time (unless fork fails). This should fix the problem where
FreeBSD won't respond to a remote host and therefor the remote hosts
tries indefinitely to contact the FreeBSD hosts thereby irritating the
system administrator.
PR: misc/27810
2002-07-11 17:39:50 +00:00