summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Try to give a more descriptive error message for the pilot error ofjoerg2002-07-182-25/+81
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove unused calls to inet_addr()brian2002-07-182-2/+0
|
* s/${INSTALL} -c/${INSTALL} ${COPY}/ru2002-07-183-4/+4
|
* This is a userland tool, not a kernel component or libstand client.peter2002-07-171-5/+5
|
* Fix a spelling mistake.dwmalone2002-07-171-1/+1
| | | | | | PR: 40695 Submitted by: Maxim Maximov <mcsi@agava.com> MFC after: 1 week
* Changes which rewrite 'lpc topq', and which add 'lpc bottomq'. Thesegad2002-07-179-10/+1103
| | | | | | | | | | | | | 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
* Unbreak Alpha build.des2002-07-161-1/+1
|
* Add IPv6 support.alfred2002-07-151-5/+15
| | | | Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* add support for rpc IPv6 (rpc/udp/46 ...)alfred2002-07-152-33/+103
| | | | Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* use getaddrinfo() instead of gethostbyname().alfred2002-07-151-5/+11
| | | | Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* Nuke unused variable.alfred2002-07-151-1/+0
|
* do not call clnt_spcreateerror nor clnt_sperror with a NULL pointer, insteadalfred2002-07-151-3/+3
| | | | | | pass an empty string. Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* Port to TI/RPC and/or IPV6.alfred2002-07-152-14/+6
| | | | Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
* If an RPC fails, try a shorter reply in case the fault lies with thealfred2002-07-151-10/+39
| | | | | | | size of the response. PR: misc/26320 MFC After: 2 weeks
* de-__P().alfred2002-07-152-36/+32
| | | | | | | | | | | | | 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
* Comment out WARNS?=4 to unbreak the Alpha build.des2002-07-151-1/+2
|
* Get rid of %qd, and unbreak Alpha build.des2002-07-153-11/+16
|
* Get rid of %qd, and unbreak Alpha build.des2002-07-152-3/+6
|
* The .Nm utilitycharnier2002-07-14138-613/+918
|
* Moved the setting of all profiling-related variables except the key onebde2002-07-132-12/+8
| | | | | | | | (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.
* Call routine to free everything obtained when filling in 'struct printer'.gad2002-07-121-0/+1
| | | | MFC after: 3 days
* Fix set_qstate() so it correctly checks for any error from chmod().gad2002-07-121-1/+1
| | | | | | Note that set_qstate() is only called from several 'lpc' commands. MFC after: 3 days
* Add a SQS_QCHANGED option to set_qstate(). This will soon be used by 'lpc'.gad2002-07-122-1/+11
| | | | | Reviewed by: freebsd-print@bostonradio.org MFC after: 3 days
* Add two variables to struct jobqueue, and change the way that getq()gad2002-07-122-3/+10
| | | | | | | 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
* Move prototypes for ctl_readcf and ctl_freeinf from ctlinfo.c to ctlinfo.h,gad2002-07-122-2/+2
| | | | | | so the routines can be called by an upcoming change for 'lpc topq/bottomq'. MFC after: 3 days
* WARNS=2, de-__P()alfred2002-07-112-7/+6
|
* WARNS=4, de-__P()alfred2002-07-112-5/+3
|
* Fix indentation broken in previous __P removal.alfred2002-07-112-15/+15
| | | | Grumbled about by: bde
* WARNS=4, de-__P()alfred2002-07-114-37/+39
|
* WARNS=4, de-__P()alfred2002-07-112-27/+28
|
* de-__P()alfred2002-07-111-3/+2
|
* WARNS=4, de-__P()alfred2002-07-116-33/+30
|
* WARNS=4alfred2002-07-112-4/+2
|
* WARNS=4 cleanup, de-__P()alfred2002-07-112-12/+14
|
* de-__P()alfred2002-07-111-1/+1
|
* WARNS?=4 cleanup.alfred2002-07-113-17/+34
|
* de-__P()alfred2002-07-111-3/+3
|
* Use the length modifier 'l' when supplying an argument ofrobert2002-07-111-1/+1
| | | | type long to printf(3).
* - Remove unnecessary inclusion of <utmp.h>.robert2002-07-111-2/+1
| | | | | - Cast a value to time_t before comparing it to another time_t to fix a warning.
* de-__P()alfred2002-07-113-51/+51
|
* mark unused variable.alfred2002-07-111-1/+1
|
* conditionally set WARNS via ?=.alfred2002-07-111-2/+2
|
* fixup for WARNS=4.alfred2002-07-118-19/+23
|
* de-__P()alfred2002-07-1116-124/+122
|
* Set NO_WERROR to ignore the following warning which is emitted onbde2002-07-111-0/+1
| | | | | | | | | | | 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.
* make mostly WARNS=4 clean.alfred2002-07-115-9/+12
| | | | constify, mark unsued args, fixup prototypes.
* Log the IP of the machine if an invalid host is passed over the wire.alfred2002-07-111-1/+4
| | | | PR: bin/29406
* Fix return values in the sm_notify_1 service routine to return an answeralfred2002-07-111-3/+3
| | | | | | | | | 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
* Fix syslog format errors introduced in 1.6.alfred2002-07-111-3/+3
|
* add includes for inet_ntoa prototype.alfred2002-07-111-0/+4
|
OpenPOWER on IntegriCloud