summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* declare locally used globals as static.alfred2001-12-221-3/+3
|
* Implement matching IP precedence in ipfw(4).yar2001-12-212-0/+24
| | | | Submitted by: Igor Timkin <ivt@gamma.ru>
* Actually make use of the md_version field of 'struct mdio'. In orderdd2001-12-201-0/+2
| | | | | | not to needlessly break compatibility, decrement MDIOVERSION to 0. Approved by: phk
* Fixphk2001-12-191-1/+3
| | | | | | | md5 -q -s foo to not expect input on stdin after hashing the string. MFC after: 1 week
* Ignore the value of fs_active when comparing superblocks.iedowse2001-12-171-0/+1
| | | | Noticed by: "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
* Add comments on where to look if you wish to auto-loadsilby2001-12-161-1/+9
| | | | | | modules at boot time. MFC after: 1 day
* Add code to export and print the description associated to sysctlluigi2001-12-162-5/+19
| | | | | | | | | | | | | | | | variables. Use the -d flag in sysctl(8) to see this information. Possible extensions to sysctl: + report variables that do not have a description + given a name, report the oid it maps to. Note to developers: have a look at your code, there are a number of variables which do not have a description. Note to developers: do we want this in 4.5 ? It is a very small change and very useful for documentation purposes. Suggested by: Orion Hodson
* Kernel support for smbfs is only built on the i386 at the moment, sosheldonh2001-12-141-1/+1
| | | | | | | limit the building and installation of the userland utilities to that architecture for now. Reported by: bmah
* At least once mention the long names of WF2Q+ (Worst-case Fair Weightedrse2001-12-141-2/+2
| | | | | | Fair Queueing) and RED (Random Early Detection) to both give the reader a hint what they are and to make it easier to find out more information about them.
* mdoc(7) police: add -p to the synopsis line as well.ru2001-12-141-1/+1
|
* Add bmake glue for src/contrib/smbfs and connect userland smbfssheldonh2001-12-142-0/+24
| | | | | | | | | | support to the build. The MFC reminder below is subject to <re@FreeBSD.org> approval prior to 4.5-RELEASE. Reviewed by: bp, fjoe MFC: 1 week
* spellingcharnier2001-12-112-21/+15
| | | | | | move some err() calls to errx() when message explains the pb enough do not set errno just before exiting the program lowercase errx() strings
* Spellingcharnier2001-12-113-3/+3
|
* Update the default newfs block and fragment sizes from 8192/1024 tosheldonh2001-12-112-7/+11
| | | | | | | | | | | | | | | | | | | 16384/2048. Following recent discussions on the -arch mailing list, involving dillon and mckusick, this change parallels the one made over a decade ago when the default was bumped up from 4096/512. This should provide significant performance improvements for most folks, less significant performance losses for a few folks and wasted space lost to large fragments for many folks. For discussion, please see the following thread in the -arch archive: Subject: Using a larger block size on large filesystems The discussion ceases to be relevant when the issue of partitioning schemes is raised.
* s/sysctl -w/sysctl/ru2001-12-111-1/+1
|
* Add new boot flag to i386 boot: -p.guido2001-12-101-0/+2
| | | | | | | | | | | | This flag adds a pausing utility. When ran with -p, during the kernel probing phase, the kernel will pause after each line of output. This pausing can be ended with the '.' key, and is automatically suspended when entering ddb. This flag comes in handy at systems without a serial port that either hang during booting or reser. Reviewed by: (partly by jlemon) MFC after: 1 week
* Fix typo: 'fragement' -> 'fragment'sheldonh2001-12-071-1/+1
|
* Files in subdirectories of directories that have the nodump flag setobrien2001-12-051-2/+5
| | | | | | | | | | | | | are sometimes incorrectly being dumped. The problem arises because the subdirectory only gets its entry cleared from usedinomap if it is also present in dumpinomap, and it is the absence of a directory in usedinomap that internally indicates that the directory is under the effects of UF_NODUMP (either directly or inherited). PR: 32414 Submitted by: David C Lawrence <tale@dd.org>
* Fix breakage in 'camcontrol defects' introduced in rev 1.34 (the new errorken2001-12-051-2/+2
| | | | | | | | | | recovery code) back in March, 2001. In effect, this brain-o would cause 'camcontrol defects' to always return an error. Pointed out by: joerg Tested by: mdodd
* Move the WARNS attribute down so that it also applies to themike2001-12-051-1/+1
| | | | RELEASE_CRUNCH case.
* mdoc(7) police: section 1 and 8 manpages document their exitru2001-12-041-4/+2
| | | | | codes under the DIAGNOSTICS section, not RETURN VALUES, which is for section 2, 3, and 9 manpages.
* Actually I haven't enumerated the return values yet (thats why I hadn'tobrien2001-12-041-1/+1
| | | | | committed it yet). So vague'ize the wording a little bit to make up for it.
* Default to WARNS=2.obrien2001-12-0491-22/+102
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* MTU and metric are available with NET_RT_IFLIST.ru2001-12-031-22/+4
| | | | MFC after: 3 days
* o Update sysctl.8 to reflect renaming of various security-relatedrwatson2001-11-301-2/+5
| | | | | | | sysctls, and to introduce new ones. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Fix the example of suggested default settings. It stated that settingssheldonh2001-11-271-1/+1
| | | | | | were only of benefit to large filesystems, which recent research suggests is not the case, and which the original author of the text no longer endorses.
* Correct the example introduced in rev 1.29, which suggested a block:fragsheldonh2001-11-271-4/+4
| | | | | | | | | | | size ratio other than 8:1. Currently, we only recommend an 8:1 ratio, because the impact of others ratios has not been adequately investigated. Also, do not recommend the use of the -c option in the example, since newfs now automatically calculates the best cyl:cylgrp ratio. This change was discussed with the author of rev 1.29.
* Make -log_ipfw_denied active by default with -verbose.ru2001-11-272-1/+8
| | | | Discussed with: phk
* Fixed (local) style bugs in previous revision.ru2001-11-272-6/+10
|
* Spelling police: sucessful -> successful.dd2001-11-241-1/+1
| | | | Submitted by: Anders Andersson <anders@codefactory.se>
* Spelling police: "more then" - "more than" where appropriate.dd2001-11-242-2/+2
|
* Fix decode tableache2001-11-231-5/+5
| | | | | PR: 32233 Submitted by: Basileios Anastasatos <B.Anastasatos@MyRealBox.com>
* Add Greek conversion tableache2001-11-202-1/+61
| | | | | PR: 32119 Submitted by: Basileios Anastasatos <B.Anastasatos@MyRealBox.com>
* Fix a large number of -Wall, -Wformat and -W compiler warnings.iedowse2001-11-1711-59/+50
| | | | | | | | | These were mainly missing casts or wrong format strings in printf statements, but there were also missing includes, unused variables, functions and arguments. The choice of `long' vs `int' still seems almost random in a lot of places though.
* Give a more useful diagnostic when an extraneous hard link to aiedowse2001-11-171-1/+3
| | | | | | | | | | directory is encountered. This includes the full path of the directory that will be removed if the user answers "y" to the "REMOVE?" question. PR: bin/226851 Submitted by: KOIE Hide <hide@koie.org> MFC after: 1 week
* Zap a number of #ifdef sunos blocks, and all of the `register'iedowse2001-11-177-102/+53
| | | | keywords.
* Give a sensible error message when the filesystem to be dumped isiedowse2001-11-161-4/+7
| | | | | | | | | not listed in /etc/fstab. Previously, the user would be greeted with "DUMP: bad sblock magic number" when dump tried to parse the directory contents as an FFS filesystem. PR: bin/12789 Submitted by: Bob Willcox <bob@pmr.com>
* Back out previous commit.asmodai2001-11-151-2/+0
| | | | | | | | | This works for wi(4), but apparantly other wireless drivers seem to do the right thing. Submitter and yours truly both got Mislead(tm). Submitted by: udp <udp@sneakerz.org>
* Report ad hoc mode correctly.asmodai2001-11-151-0/+2
| | | | Submitted by: udp <udp@sneakerz.org>
* note that 'nolockd' can't be used when updating mount flagsalfred2001-11-121-0/+3
|
* Allow users to use the 'nolockd' or -L options with mount_nfs in orderalfred2001-11-122-2/+26
| | | | | | to avoid the need for rpc.lockd to perform client locks. Using this option a user can revert back to using local locks for NFS mounts like we did before we had rpc.lockd.
* Check that the mode argument to fsdb's `chmod' command contains noiedowse2001-11-111-1/+1
| | | | | | | inode type bits set. Previously it would let you set IFMT bits (but not clear them). The `chtype' command should be be used instead for changing the inode type; having chmod half-work only causes confusion.
* Add a few articles to improve the readability of this manual page.murray2001-11-051-9/+9
| | | | | PR: docs/31583 Submitted by: setantae@submonkey.net
* sync the code with the one in stable (mostly formatting changes).luigi2001-11-041-26/+27
|
* Refer people looking to figure out what major to use for a device todd2001-11-041-9/+3
| | | | | | | | MAKEDEV and sys/conf/majors, not sys/conf/device.<arch>, which has never existed in the history of FreeBSD (well, at least it isn't in the repository). PR: 31558
* Repocopy pc98 fdisk out of its hidden subdir. Reconnect it to the build.peter2001-11-046-2019/+5
|
* Remove support for FreeBSD/tahoepeter2001-11-031-19/+0
| | | | Submitted by: phk
* Repo copied contents of src/sbin/i386 to src/sbin and set specificpeter2001-11-0311-3388/+0
| | | | SUBDIR lists there. Some of these are used on other platforms.
* Move i386/{fdisk,cxconfig,nextboot} to src/sbin. Eliminate the i386peter2001-11-031-4/+8
| | | | | subdir. Add fdisk to ia64 SUBDIR list. Add all the previous occupants of the i386 subdir to the i386 SUBDIR list.
* style(9) cleanup.phk2001-11-022-53/+52
| | | | | Submitted by: j mckitrick <jcm@freebsd-uk.eu.org> Reviewed by: phk, /sbin/md5
OpenPOWER on IntegriCloud