summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Support inheritance of the "nodump" flag down a hierarchy.obrien2001-03-032-26/+82
| | | | | Submitted by: Dima Dorfman <dima@unixfreak.org> Obtained from: NetBSD
* Fix typo present since 1997: single used mode -> single user mode.asmodai2001-03-031-1/+1
|
* Use _PATH_DEV.obrien2001-02-282-5/+7
| | | | Reviewed by: grog
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.ru2001-02-285-50/+50
|
* Remove "autounit" from settable options, it's the default unless youphk2001-02-262-12/+3
| | | | | | specify -u. Spotted by: dcs
* Backout -a restriction hack.ru2001-02-262-7/+1
| | | | Requested by: rwatson
* Allow for easier configuration when using disklabel. A samplejwd2001-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>
* Forgot to remove unneeded "intcmp" function.phk2001-02-251-8/+0
|
* Make "md" and "mdctl" macroized parameters.phk2001-02-252-10/+134
| | | | | | Implement "-l" option to mdconfig which can list one or all md devices. Submitted by: Dima Dorfman <dima@unixfreak.org>
* Make md/mdconfig do kld.phk2001-02-241-0/+36
| | | | Submitted by: dcs
* Restrict -a to root only.ru2001-02-242-1/+7
| | | | PR: bin/25337
* Elminate common declaration.ps2001-02-222-1/+2
| | | | Reviewed by: peter
* some reasoning why we separated ping(8) and ping6(8)ume2001-02-221-0/+29
| | | | | | comments/additions/corrections are welcome. Obtained from: KAME
* Mention the edquota(8) utility when talking about editing quota.usernik2001-02-221-0/+3
| | | | | | and quota.group. PR: docs/25124
* Document that the IPFW messages are logged via syslogd(8).ru2001-02-221-1/+11
|
* if no address is setted, do not call ioctl(SIOCAIFADDR)ume2001-02-211-1/+1
| | | | Obtained from: KAME
* Fix vinum for both devfs and non-devfs systems.alfred2001-02-206-53/+84
| | | | | | | | | | | | | | | | | | | | | | | | | userland tool: Use the vfs.devfs.generation sysctl to test for devfs presense (thanks phk!) when devfs is active it will not try to create the device nodes in /dev and therefore will not complain about the failure to do so. Revert the change in the #define for VINUM_DIR in the kernel header so that vinum can find its device nodes. Replace perror() with vinum_perror() to print file/line when DEVBUG is defined (not defined by default). kernel: Don't use the #define names for the "superdev" creation since they will be prepended by "/dev/" (based on VINUM_DIR), instead use string constants. Create both debug and non-debug "superdev" nodes in the devfs. Problem noticed and fix tested by: Martin Blapp <mblapp@fuchur.lan.attic.ch>
* Switch to using a struct xucred instead of a struct xucred when notgreen2001-02-181-12/+12
| | | | | | | | | | | | | | | | | actually in the kernel. This structure is a different size than what is currently in -CURRENT, but should hopefully be the last time any application breakage is caused there. As soon as any major inconveniences are removed, the definition of the in-kernel struct ucred should be conditionalized upon defined(_KERNEL). This also changes struct export_args to remove dependency on the constantly-changing struct ucred, as well as limiting the bounds of the size fields to the correct size. This means: a) mountd and friends won't break all the time, b) mountd and friends won't crash the kernel all the time if they don't know what they're doing wrt actual struct export_args layout. Reviewed by: bde
* Preceed/preceeding are not english words. Use precede or preceding.asmodai2001-02-181-1/+1
|
* Document the new -k option in usage message and man page.des2001-02-162-2/+4
|
* Add a -k option that prevents clearing the dump after saving it.des2001-02-161-16/+57
| | | | | | | | | Use sysctlbyname() instead of sysctl(). Clear up and simplify the version extraction code. Attempt to detect stretches of zeroes in the dump and avoid writing them to disk to save space and time.
* Added pc98 support.nyan2001-02-161-0/+4
| | | | Submitted by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
* Don't allow special devices of type NODEV (NOUDEV as seen from kernel).tegge2001-02-151-0/+5
| | | | | | They can't be created via mknod and the kernel crashes if it encounters such an inode. Approved by: mckusick
* mdoc(7) police: normalize the construct.ru2001-02-151-5/+1
|
* Fix grammar nit in previous commit.sheldonh2001-02-141-1/+1
|
* Introduce a new feature in IPFW: Check of the source or destinationphk2001-02-132-40/+73
| | | | | | | | | | | | | | | | | | | address is configured on a interface. This is useful for routers with dynamic interfaces. It is now possible to say: 0100 allow tcp from any to any established 0200 skipto 1000 tcp from any to any 0300 allow ip from any to any 1000 allow tcp from 1.2.3.4 to me 22 1010 deny tcp from any to me 22 1020 allow tcp from any to any and not have to worry about the behaviour if dynamic interfaces configure new IP numbers later on. The check is semi expensive (traverses the interface address list) so it should be protected as in the above example if high performance is a requirement.
* mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.ru2001-02-132-3/+3
|
* Use ".Nm fsck_ffs", so that this turns up in whatis(1), and others.nik2001-02-121-2/+4
| | | | | | | Add .Xr to fsck. Prompted by: JM Jr's script that shows binaries with no whatis info Reviewed by: adrian
* Fix a cosmetic problem with some very defensive programming: The devfsphk2001-02-081-1/+17
| | | | mount would show up as "/dev/", loose that trailing slash.
* mdoc(7) police: Change -filled displays (which just happenru2001-02-072-4/+4
| | | | | | to be the same as -ragged in the current implementation) to -ragged. With mdocNG, -filled displays produce the correct output, formatted and justified to both margins.
* Fix typo: seperate -> separate.asmodai2001-02-061-3/+3
| | | | | | Seperate does not exist in the english language. Submitted to look at by: kris
* mount a --> mount andan2001-02-041-1/+1
| | | | | PR: 24842 Submitted by: Rich Morin <rdm@cfcl.com>
* Add an xref for mount_ntfs.nik2001-02-021-0/+1
| | | | | PR: docs/24693 Submitted by: Etienne Vidal <hallik@libertysurf.fr>
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-8/+6
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-0122-82/+112
|
* Fsck_ffs did not properly range-check the inode 'di_size'iedowse2001-01-312-3/+8
| | | | | | | | | | | | | | | | | | | field, so it was possible for a filesystem marked clean by fsck_ffs to cause kernel crashes later when mounted. This could occur when fsck_ffs was used to repair a badly corrupted filesystem. As pointed out by bde, it is not sufficient to restrict di_size to just the superblock fs_maxfilesize limit. The use of 32-bit logical block numbers (both in fsck and the kernel) induces another file size limit which is usually lower than fs_maxfilesize. Also, the old 4.3BSD filesystem does not have fs_maxfilesize initialised. Following this change, fsck_ffs will enforce exactly the same file size limits as are used by the kernel. PR: kern/15065 Discussed with: bde Reviewed by: bde, mckusick
* Strip optional prefixes "/dev/" and "md" from the -u argument.phk2001-01-311-0/+5
|
* Make mount_mfs annoy users for 15 seconds and point them at mdconfig(8).phk2001-01-302-0/+12
|
* Fix 'tunefs -p'ben2001-01-291-0/+1
| | | | Reviewed by: sheldonh
* Use <sys/queue.h> instead of home-rolled list.phk2001-01-293-16/+16
| | | | Submitted by: "Jason Smethers" <jsmethers@pdq.net>
* Use \a instead of \007 for making noise.phk2001-01-283-4/+4
| | | | Submitted by: "Jason Smethers" <jsmethers@pdq.net>
* Duh, the version of mdconfig.c I committed came from the wrong machine.phk2001-01-282-20/+1
| | | | | | | Commit the right version, but without the -b option which is too evil for the present. Remove -b and preload from the manpage as well.
* Don't specify fragment size, it autosizes from the sectorsize.phk2001-01-281-1/+2
| | | | | | Remember to set mode 1777 on /tmp Submitted by: mjacob
* Print out the target device when the mount fails.bsd2001-01-251-1/+2
|
* Always print out the target device when the mount fails, not just onbsd2001-01-251-4/+1
| | | | ENOENT.
* Provide a better error message when the /dev entry is non-existant.bsd2001-01-251-0/+3
| | | | | Due to the old message, I spent way more time debugging a diskless root problem than it should have taken.
* Fix the vulnerability with TCP ECE packets recently fixed in ipfw.kris2001-01-231-2/+2
| | | | This is untested, but believed to work.
* avoid conflicting #define symbol (s/FW_IFNLEN/IP6&/).ume2001-01-221-3/+3
| | | | Obtained from: KAME
* mdoc police.ben2001-01-221-2/+3
| | | | Submitted by: ru
* man(7) -> mdoc(7).ru2001-01-222-144/+126
|
OpenPOWER on IntegriCloud