summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Replace reference to replacing mkfs(8) with a paragraph actuallyeivind2001-01-151-3/+1
| | | | describing what newfs *does*.
* Document the -N option in the usage message and the man page.des2001-01-142-8/+10
|
* Add a -N option that makes sysctl(8) print out just the variable names.des2001-01-141-10/+31
| | | | | | | | | | | | | | Zsh users can add the following to their .zshrc for sysctl completion: function listsysctls { case $1 in *.*) set -A reply $(sysctl -AN ${1%.*}) ;; *) set -A reply $(sysctl -AN) ;; esac } compctl -K listsysctls sysctl While I'm here, brucify the getopt() switch.
* Remove references to lockinfo.plex.grog2001-01-141-10/+7
| | | | Reported by: dougb
* Mdoc(7)ify.ru2001-01-101-36/+66
|
* o IPFW incorrectly handled filtering in the presence of previouslyrwatson2001-01-091-3/+2
| | | | | | | | | | | | | | | | | | | | reserved and now allocated TCP flags in incoming packets. This patch stops overloading those bits in the IP firewall rules, and moves colliding flags to a seperate field, ipflg. The IPFW userland management tool, ipfw(8), is updated to reflect this change. New TCP flags related to ECN are now included in tcp.h for reference, although we don't currently implement TCP+ECN. o To use this fix without completely rebuilding, it is sufficient to copy ip_fw.h and tcp.h into your appropriate include directory, then rebuild the ipfw kernel module, and ipfw tool, and install both. Note that a mismatch between module and userland tool will result in incorrect installation of firewall rules that may have unexpected effects. This is an MFC candidate, following shakedown. This bug does not appear to affect ipfilter. Reviewed by: security-officer, billf Reported by: Aragon Gouveia <aragon@phat.za.net>
* Document fsck_ffs's new SIGINFO handler.iedowse2001-01-031-0/+12
| | | | Reviewed by: sheldonh
* Minor layout fixes.ben2001-01-011-0/+4
| | | | | PR: 24004 Submitted by: Jimmy Olgeni <olgeni@uli.it>
* Add padding space and a version number to the md_ioctl structre for futurephk2001-01-012-3/+18
| | | | | | | | | | | | extension. Add ability to create a preload disk giving an address and a length (suggested by imp) Fix bug relating to very small md(4) devices. Update md.c copyright to reflect the status of code copied from vn.c. (noticed by dillon)
* Further tidy up the sbin/init and release builds.peter2001-01-011-28/+2
|
* This is not necessarily the correct fix, but at least sbin/init compilesphk2001-01-011-8/+11
| | | | in a sterile environment like "make release"
* This is the first snapshot of the new all-singing-and-dancing md(4).phk2000-12-311-6/+13
| | | | | | Using the mdconfig(8) program you can now configure memory disks on malloc(9), swap or a file/vnode. preloaded md disks also work as usual.
* Improve cmdline parsing and messages.phk2000-12-313-21/+210
| | | | | Add a rudimentary man-page. (I'm no mdoc wizard, feel free to attack my mistakes and blunders)
* Use macro API to <sys/queue.h>phk2000-12-302-6/+6
| | | | | Submitted by: "Peter Avalos" <pavalos@theshell.com> Reviewed by: /sbin/md5
* Add mdconfig into the build.phk2000-12-281-0/+1
|
* Preliminary scaffolding for the new integrated vn+md device driver.phk2000-12-282-0/+110
| | | | | | | | | | | | | | | | | I decided to work on the md(4) driver and integrate the vn(4) functionality into it mainly based on the name being more suitable. Ideally 'vd' as in "virtual disk" would probably be the most logical but our sound-master pointed out that this would cause uncontrollable fits of giggles in the brits. Another complication would the needed changes to the ramdisk boot/root functionality. The vn driver will stay around for some time after I complete this merge for transition reasons, and I'll make it whine to people that they should migrate to the md(4) driver for some time before it dies. The kernel part of the new md(4) driver will be committed after more testing.
* typo: modifes -> modifieshoek2000-12-282-2/+2
|
* Retire kernfs (userland part).des2000-12-284-11/+4
|
* When trying to deduce the diskname from the name so we can runphk2000-12-272-8/+13
| | | | | | | | | | | | | | | | | parallel fsck's one per drive, use the shortest prefix ending in a digit rather than the longest prefix ending in a digit. This makes "/dev/ad0s1a" and "/dev/ad0s2a" appear to both reside on the disk "/dev/ad0" and consequently they will be fsck'ed sequentially rather than in parallel as now. In general this heuristic is rather soft and errorprone. For instance ccd may often reside on two or more physical disks. A good solution would be to look for passes larger than 1 until no disks are found in a particular pass, that way people could put ccd stripes in pass 3... and have them fsck'ed sequentially. Reviewed by: mjacob
* Use official API to <sys/queue.h> instead of groping around inside thephk2000-12-271-17/+16
| | | | | | data structures. Reviewed by: imp
* Prepare for mdoc(7)NG.ru2000-12-277-26/+26
|
OpenPOWER on IntegriCloud