aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Try to give a more descriptive error message for the pilot error ofJoerg Wunsch2002-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 Notes: svn path=/head/; revision=100336
* Remove unused calls to inet_addr()Brian Somers2002-07-182-2/+0
| | | | Notes: svn path=/head/; revision=100334
* s/${INSTALL} -c/${INSTALL} ${COPY}/Ruslan Ermilov2002-07-183-4/+4
| | | | Notes: svn path=/head/; revision=100313
* This is a userland tool, not a kernel component or libstand client.Peter Wemm2002-07-171-5/+5
| | | | Notes: svn path=/head/; revision=100272
* Fix a spelling mistake.David Malone2002-07-171-1/+1
| | | | | | | | | PR: 40695 Submitted by: Maxim Maximov <mcsi@agava.com> MFC after: 1 week Notes: svn path=/head/; revision=100252
* Changes which rewrite 'lpc topq', and which add 'lpc bottomq'. TheseGarance A Drosehn2002-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 Notes: svn path=/head/; revision=100203
* Unbreak Alpha build.Dag-Erling Smørgrav2002-07-161-1/+1
| | | | Notes: svn path=/head/; revision=100165
* Add IPv6 support.Alfred Perlstein2002-07-151-5/+15
| | | | | | | Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr> Notes: svn path=/head/; revision=100134
* add support for rpc IPv6 (rpc/udp/46 ...)Alfred Perlstein2002-07-152-33/+103
| | | | | | | Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr> Notes: svn path=/head/; revision=100127
* use getaddrinfo() instead of gethostbyname().Alfred Perlstein2002-07-151-5/+11
| | | | | | | Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr> Notes: svn path=/head/; revision=100126
* Nuke unused variable.Alfred Perlstein2002-07-151-1/+0
| | | | Notes: svn path=/head/; revision=100125
* do not call clnt_spcreateerror nor clnt_sperror with a NULL pointer, insteadAlfred Perlstein2002-07-151-3/+3
| | | | | | | | | pass an empty string. Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr> Notes: svn path=/head/; revision=100121
* Port to TI/RPC and/or IPV6.Alfred Perlstein2002-07-152-14/+6
| | | | | | | Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr> Notes: svn path=/head/; revision=100120
* If an RPC fails, try a shorter reply in case the fault lies with theAlfred Perlstein2002-07-151-10/+39
| | | | | | | | | | size of the response. PR: misc/26320 MFC After: 2 weeks Notes: svn path=/head/; revision=100117
* de-__P().Alfred Perlstein2002-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 Notes: svn path=/head/; revision=100114
* Comment out WARNS?=4 to unbreak the Alpha build.Dag-Erling Smørgrav2002-07-151-1/+2
| | | | Notes: svn path=/head/; revision=100110
* Get rid of %qd, and unbreak Alpha build.Dag-Erling Smørgrav2002-07-153-11/+16
| | | | Notes: svn path=/head/; revision=100107
* Get rid of %qd, and unbreak Alpha build.Dag-Erling Smørgrav2002-07-152-3/+6
| | | | Notes: svn path=/head/; revision=100070
* The .Nm utilityPhilippe Charnier2002-07-14138-613/+918
| | | | Notes: svn path=/head/; revision=99968
* Moved the setting of all profiling-related variables except the key oneBruce Evans2002-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. Notes: svn path=/head/; revision=99923
* Call routine to free everything obtained when filling in 'struct printer'.Garance A Drosehn2002-07-121-0/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=99846
* Fix set_qstate() so it correctly checks for any error from chmod().Garance A Drosehn2002-07-121-1/+1
| | | | | | | | | Note that set_qstate() is only called from several 'lpc' commands. MFC after: 3 days Notes: svn path=/head/; revision=99845
* Add a SQS_QCHANGED option to set_qstate(). This will soon be used by 'lpc'.Garance A Drosehn2002-07-122-1/+11
| | | | | | | | Reviewed by: freebsd-print@bostonradio.org MFC after: 3 days Notes: svn path=/head/; revision=99844
* Add two variables to struct jobqueue, and change the way that getq()Garance A Drosehn2002-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 Notes: svn path=/head/; revision=99842
* Move prototypes for ctl_readcf and ctl_freeinf from ctlinfo.c to ctlinfo.h,Garance A Drosehn2002-07-122-2/+2
| | | | | | | | | so the routines can be called by an upcoming change for 'lpc topq/bottomq'. MFC after: 3 days Notes: svn path=/head/; revision=99840
* WARNS=2, de-__P()Alfred Perlstein2002-07-112-7/+6
| | | | Notes: svn path=/head/; revision=99835
* WARNS=4, de-__P()Alfred Perlstein2002-07-112-5/+3
| | | | Notes: svn path=/head/; revision=99833
* Fix indentation broken in previous __P removal.Alfred Perlstein2002-07-112-15/+15
| | | | | | | Grumbled about by: bde Notes: svn path=/head/; revision=99831
* WARNS=4, de-__P()Alfred Perlstein2002-07-114-37/+39
| | | | Notes: svn path=/head/; revision=99829
* WARNS=4, de-__P()Alfred Perlstein2002-07-112-27/+28
| | | | Notes: svn path=/head/; revision=99825
* de-__P()Alfred Perlstein2002-07-111-3/+2
| | | | Notes: svn path=/head/; revision=99824
* WARNS=4, de-__P()Alfred Perlstein2002-07-116-33/+30
| | | | Notes: svn path=/head/; revision=99822
* WARNS=4Alfred Perlstein2002-07-112-4/+2
| | | | Notes: svn path=/head/; revision=99820
* WARNS=4 cleanup, de-__P()Alfred Perlstein2002-07-112-12/+14
| | | | Notes: svn path=/head/; revision=99819
* de-__P()Alfred Perlstein2002-07-111-1/+1
| | | | Notes: svn path=/head/; revision=99818
* WARNS?=4 cleanup.Alfred Perlstein2002-07-113-17/+34
| | | | Notes: svn path=/head/; revision=99816
* de-__P()Alfred Perlstein2002-07-111-3/+3
| | | | Notes: svn path=/head/; revision=99814
* Use the length modifier 'l' when supplying an argument ofRobert Drehmel2002-07-111-1/+1
| | | | | | | type long to printf(3). Notes: svn path=/head/; revision=99808
* - Remove unnecessary inclusion of <utmp.h>.Robert Drehmel2002-07-111-2/+1
| | | | | | | | - Cast a value to time_t before comparing it to another time_t to fix a warning. Notes: svn path=/head/; revision=99807
* de-__P()Alfred Perlstein2002-07-113-51/+51
| | | | Notes: svn path=/head/; revision=99806
* mark unused variable.Alfred Perlstein2002-07-111-1/+1
| | | | Notes: svn path=/head/; revision=99804
* conditionally set WARNS via ?=.Alfred Perlstein2002-07-111-2/+2
| | | | Notes: svn path=/head/; revision=99803
* fixup for WARNS=4.Alfred Perlstein2002-07-118-19/+23
| | | | Notes: svn path=/head/; revision=99802
* de-__P()Alfred Perlstein2002-07-1116-124/+122
| | | | Notes: svn path=/head/; revision=99800
* Set NO_WERROR to ignore the following warning which is emitted onBruce Evans2002-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. Notes: svn path=/head/; revision=99799
* make mostly WARNS=4 clean.Alfred Perlstein2002-07-115-9/+12
| | | | | | | constify, mark unsued args, fixup prototypes. Notes: svn path=/head/; revision=99798
* Log the IP of the machine if an invalid host is passed over the wire.Alfred Perlstein2002-07-111-1/+4
| | | | | | | PR: bin/29406 Notes: svn path=/head/; revision=99795
* Fix return values in the sm_notify_1 service routine to return an answerAlfred Perlstein2002-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 Notes: svn path=/head/; revision=99791
* Fix syslog format errors introduced in 1.6.Alfred Perlstein2002-07-111-3/+3
| | | | Notes: svn path=/head/; revision=99790
* add includes for inet_ntoa prototype.Alfred Perlstein2002-07-111-0/+4
| | | | Notes: svn path=/head/; revision=99789