aboutsummaryrefslogtreecommitdiff
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-2692-25/+95
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74815
* Don't call daemon() and setup our signal handlers until after we checkAlfred Perlstein2001-03-251-41/+34
| | | | | | | | | | | | | | | | and do the unregister/reregister work. Don't call syslog in the unregister/reregister code as we haven't called openlog() yet. Be a more conservative about accepting errno values from socket(2), only EPROTONOSUPPORT means that the kernel isn't supporting it something like INET6. The other possible errnos would be returned if there was a mistake in the socket(2) call so remove them from the list of "acceptable" return values. Notes: svn path=/head/; revision=74800
* Disable ipv6 when getnetconfigent("udp6"/"tcp6") fails.Alfred Perlstein2001-03-251-1/+2
| | | | | | | Submitted by: Martin Blapp <mb@imp.ch> Notes: svn path=/head/; revision=74799
* Replace pmap_unset() with rpcb_unset() which fixes the unregistering.Alfred Perlstein2001-03-251-2/+2
| | | | | | | Submitted by: Martin Blapp <mb@imp.ch> Notes: svn path=/head/; revision=74792
* Deal with lack of IPv6 support gracefully.Alfred Perlstein2001-03-251-4/+8
| | | | | | | Submitted by: Martin Blapp <mb@imp.ch> Notes: svn path=/head/; revision=74791
* fix -o port=xxxAlfred Perlstein2001-03-251-5/+8
| | | | Notes: svn path=/head/; revision=74790
* Respect style(9), one must not include both <sys/types.h> andOllivier Robert2001-03-221-1/+0
| | | | | | | | | <sys/param.h> (the latter includes the former). Submitted by: bde Notes: svn path=/head/; revision=74652
* Include headers to unbreak world.Alfred Perlstein2001-03-211-0/+2
| | | | | | | Submitted by: Ollivier Robert <roberto@eurocontrol.fr> Notes: svn path=/head/; revision=74594
* Additions to run checks on live filesystems. This change will notKirk McKusick2001-03-2112-168/+399
| | | | | | | | | | | | affect current systems until fsck is modified to use these new facilities. To try out this change, set the fsck passno to zero in /etc/fstab to cause the filesystem to be mounted without running fsck, then run `fsck_ffs -p -B <filesystem>' after the system has been brought up multiuser to run a background cleanup on <filesystem>. Note that the <filesystem> in question must have soft updates enabled. Notes: svn path=/head/; revision=74556
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74532
* Set the default manual section for sbin/ to 8.Ruslan Ermilov2001-03-2083-94/+39
| | | | Notes: svn path=/head/; revision=74531
* Reboot(8) normally waits 5 seconds after sending SIGTERMs to allIan Dowse2001-03-201-10/+32
| | | | | | | | | | | | | processes and then sends SIGKILLs. If a lot of processes are swapped out, this delay may not be long enough, so processes such as an X server may be killed before they have had time to clean up properly. Make this delay more dynamic by waiting up to 60 seconds for swap page-in activity to end. While I'm here, ANSIfy and remove a `register' specifier. Notes: svn path=/head/; revision=74525
* mdoc(7) police: fixes to the previous revision:Ruslan Ermilov2001-03-201-2/+8
| | | | | | | | | - fixed bad formatting - avoid using German - removed hard sentence break Notes: svn path=/head/; revision=74519
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andAlfred Perlstein2001-03-195-764/+1450
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul Notes: svn path=/head/; revision=74462
* Fix minor mdoc(7) and spelling nits.Ruslan Ermilov2001-03-191-4/+4
| | | | Notes: svn path=/head/; revision=74452
* Activate atacontrolSøren Schmidt2001-03-191-0/+1
| | | | Notes: svn path=/head/; revision=74448
* Some minor cleanups to the code, no new functionality.Søren Schmidt2001-03-191-44/+62
| | | | Notes: svn path=/head/; revision=74447
* Incorporate most of Ruslans changes plus minor addtion by meSøren Schmidt2001-03-191-32/+48
| | | | Notes: svn path=/head/; revision=74446
* Correct typo in usage.Hajimu UMEMOTO2001-03-181-1/+1
| | | | | | | Submitted by: David Malone <dwmalone@maths.tcd.ie> Notes: svn path=/head/; revision=74425
* It is the ``nostrictjoliet'' option equivalent to -b.Ruslan Ermilov2001-03-161-2/+2
| | | | | | | Reviewed by: bp Notes: svn path=/head/; revision=74345
* Back out ru's changes. Soren has requested this and I see no reasonWarner Losh2001-03-164-187/+98
| | | | | | | | | to not just do it. It is his new code that is being actively developed so he has say over it. ru's direct changes were premature as they occurred less than 4 hours after it was committed to the tree. Notes: svn path=/head/; revision=74334
* mdoc(7) police: removed hard sentence break introduced in rev 1.82.Ruslan Ermilov2001-03-161-1/+2
| | | | Notes: svn path=/head/; revision=74333
* Explain that TCP fragments with an offset of 1 are reported as beingDima Dorfman2001-03-161-1/+2
| | | | | | | | | | | dropped by rule -1 if logging is enabled. PR: 25796 Submitted by: Crist J. Clark <cjclark@alum.mit.edu> Approved by: nik Notes: svn path=/head/; revision=74319
* Make this compile with ${BDECFLAGS}, apply style(9), cleanup manpage.Ruslan Ermilov2001-03-154-98/+187
| | | | Notes: svn path=/head/; revision=74308
* Add atacontrol, a util to control variuos aspects of the ATA.4 driver,Søren Schmidt2001-03-153-0/+302
| | | | | | | please consult atacontrol.8 for usage.. Notes: svn path=/head/; revision=74305
* mdoc(7) police: add a missing An call.Ruslan Ermilov2001-03-121-1/+2
| | | | Notes: svn path=/head/; revision=74151
* Update userland interface for broken Joilet disks.Boris Popov2001-03-112-2/+12
| | | | | | | Reviewed by: adrian Notes: svn path=/head/; revision=74097
* In the absence of explicit ``-t type'' option assume that ``-f file''Maxim Sobolev2001-03-091-1/+6
| | | | | | | | | implies ``-t vnode''. Approved by: phk Notes: svn path=/head/; revision=74052
* Make md(4) and mdconfig(8) take over the role of vn(4) and vnconfig(8)Poul-Henning Kamp2001-03-092-2/+16
| | | | | | | | | | entirely as previously advertised. md(4) adopted all assets of vn(4) some time back and has proper devfs support and cloning abilities to boot. Notes: svn path=/head/; revision=74047
* 1) If mdconfig isn't given an action argument, it assumes detach.Poul-Henning Kamp2001-03-091-4/+5
| | | | | | | | | | | | 2) Running `mdconfig -l` without any attached devices results in mdconfig printing "md0" to standard output. Submitted by: dd [1] [1] no, not "dd(1)" but "Dima Dorfman" Notes: svn path=/head/; revision=74044
* Add new option -m which allows the user to set IP TTL.Ruslan Ermilov2001-03-092-12/+34
| | | | Notes: svn path=/head/; revision=74029
* bye-bye documented raw devicesDavid E. O'Brien2001-03-091-3/+3
| | | | Notes: svn path=/head/; revision=74028
* bye-bye documented raw deviceDavid E. O'Brien2001-03-091-3/+3
| | | | Notes: svn path=/head/; revision=74027
* Move _PATH_DEFTAPE to <paths.h> to remove all the duplication of definitons,David E. O'Brien2001-03-085-47/+5
| | | | | | | and remove leading `r'(aw) from it. Notes: svn path=/head/; revision=73986
* Restore the -c option, which was accidentally removed from the getoptDag-Erling Smørgrav2001-03-061-1/+1
| | | | | | | string two revisions ago. Notes: svn path=/head/; revision=73828
* mdoc(7) police: misc formatting fixes.Ruslan Ermilov2001-03-052-56/+100
| | | | | | | (This page still needs a lot of work.) Notes: svn path=/head/; revision=73755
* First attempt to not overflow in disk space calculations. Use off_tWarner Losh2001-03-052-10/+10
| | | | | | | | for the size variable used to calculate the size of the partition. Also use ULL suffix for constants to ensure that we use 64 bit math. Notes: svn path=/head/; revision=73573
* Fix style nit.David E. O'Brien2001-03-042-2/+2
| | | | Notes: svn path=/head/; revision=73516
* Correct grammar in comment.Kris Kennaway2001-03-041-3/+3
| | | | Notes: svn path=/head/; revision=73427
* Support inheritance of the "nodump" flag down a hierarchy.David E. O'Brien2001-03-032-26/+82
| | | | | | | | Submitted by: Dima Dorfman <dima@unixfreak.org> Obtained from: NetBSD Notes: svn path=/head/; revision=73375
* Fix typo present since 1997: single used mode -> single user mode.Jeroen Ruigrok van der Werven2001-03-031-1/+1
| | | | Notes: svn path=/head/; revision=73373
* Use _PATH_DEV.David E. O'Brien2001-02-282-5/+7
| | | | | | | Reviewed by: grog Notes: svn path=/head/; revision=73236
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.Ruslan Ermilov2001-02-285-50/+50
| | | | Notes: svn path=/head/; revision=73233
* Remove "autounit" from settable options, it's the default unless youPoul-Henning Kamp2001-02-262-12/+3
| | | | | | | | | specify -u. Spotted by: dcs Notes: svn path=/head/; revision=73094
* Backout -a restriction hack.Ruslan Ermilov2001-02-262-7/+1
| | | | | | | Requested by: rwatson Notes: svn path=/head/; revision=73076
* Allow for easier configuration when using disklabel. A sampleJohn W. De Boskey2001-02-254-318/+1116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | being: # size offset fstype [fsize bsize bps/cpg] a: 400M 0 4.2BSD 4096 16384 75 # (Cyl. 0 - 812*) b: 1G * swap c: * * unused e: 204800 * 4.2BSD f: 5g * 4.2BSD g: * * 4.2BSD These patches are the original work of Randell Jesup, and I believe Matt Dillon, with additional work by Warner Losh. Please let me know if I've left someone out. Incorporated into this is the fix for PR bin/22727. This patchset still has style issues and a possible problem on large disks. However, it was a agreed to get these committed before performing major surgery on them. PR: bin/22727 Submitted by: Randell Jesup <rjesup@wgate.com> Notes: svn path=/head/; revision=73034
* Forgot to remove unneeded "intcmp" function.Poul-Henning Kamp2001-02-251-8/+0
| | | | Notes: svn path=/head/; revision=73027
* Make "md" and "mdctl" macroized parameters.Poul-Henning Kamp2001-02-252-10/+134
| | | | | | | | | Implement "-l" option to mdconfig which can list one or all md devices. Submitted by: Dima Dorfman <dima@unixfreak.org> Notes: svn path=/head/; revision=73026
* Make md/mdconfig do kld.Poul-Henning Kamp2001-02-241-0/+36
| | | | | | | Submitted by: dcs Notes: svn path=/head/; revision=72981
* Restrict -a to root only.Ruslan Ermilov2001-02-242-1/+7
| | | | | | | PR: bin/25337 Notes: svn path=/head/; revision=72973