summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Room to hold rules should be dynamically allocated.ume2001-01-201-10/+18
| | | | PR: kern/24248
* Add 'netrange' parameter to 'range' command and fix a couple of typos.ben2001-01-201-3/+3
| | | | | PR: 23984 Submitted by: Jimmy Olgeni <olgeni@uli.it>
* Removed unused copy of ../mount/getmtopts.3.bde2001-01-175-461/+5
| | | | | | | | | | | Removed used copies of ../mount/getmntopts.c ../mount/mntopts.h. Use the versions in ../mount directly like all other mount utilities. Removed used copy of ../mount/pathnames.h. Use the version in ../mount for free as a side effect of using the mntopts files there. We should not use it at all, since the 2/3 of the definitions in it are in <paths.h> and the other 1/3 should be in ../mountd/pathnames.h and is not used by mount_ifs anyway.
* Removed unused rotting copy of ../mount/mount.8. It should never havebde2001-01-171-385/+0
| | | | been repo-copied.
* mdoc(7) police: fixed broken references.ru2001-01-161-1/+1
|
* Prepare for mdoc(7)NG.ru2001-01-167-14/+14
|
* Fix typo.grog2001-01-151-4/+6
| | | | | | | | | Submitted by: Jimmy Olgeni <olgeni@uli.it> PR: 24233 Fix typos. Submitted by: "Jeroen C. van Gelderen" <jeroen@vangelderen.org>
* The ffs superblock includes a 128-byte region for use by temporaryiedowse2001-01-156-10/+17
| | | | | | | | | | | | | | | | | | | | in-core pointers to summary information. An array in this region (fs_csp) could overflow on filesystems with a very large number of cylinder groups (~16000 on i386 with 8k blocks). When this happens, other fields in the superblock get corrupted, and fsck refuses to check the filesystem. Solve this problem by replacing the fs_csp array in 'struct fs' with a single pointer, and add padding to keep the length of the 128-byte region fixed. Update the kernel and userland utilities to use just this single pointer. With this change, the kernel no longer makes use of the superblock fields 'fs_csshift' and 'fs_csmask'. Add a comment to newfs/mkfs.c to indicate that these fields must be calculated for compatibility with older kernels. Reviewed by: mckusick
* Add a couple of newlines in the output from route monitorphk2001-01-151-2/+4
|
OpenPOWER on IntegriCloud