summaryrefslogtreecommitdiff
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Add code to export and print the description associated to sysctlLuigi Rizzo2001-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 Notes: svn path=/head/; revision=88006
* Kernel support for smbfs is only built on the i386 at the moment, soSheldon Hearn2001-12-141-1/+1
| | | | | | | | | | limit the building and installation of the userland utilities to that architecture for now. Reported by: bmah Notes: svn path=/head/; revision=87960
* At least once mention the long names of WF2Q+ (Worst-case Fair WeightedRalf S. Engelschall2001-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. Notes: svn path=/head/; revision=87952
* mdoc(7) police: add -p to the synopsis line as well.Ruslan Ermilov2001-12-141-1/+1
| | | | Notes: svn path=/head/; revision=87884
* Add bmake glue for src/contrib/smbfs and connect userland smbfsSheldon Hearn2001-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 Notes: svn path=/head/; revision=87874
* spellingPhilippe Charnier2001-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 Notes: svn path=/head/; revision=87668
* SpellingPhilippe Charnier2001-12-113-3/+3
| | | | Notes: svn path=/head/; revision=87667
* Update the default newfs block and fragment sizes from 8192/1024 toSheldon Hearn2001-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. Notes: svn path=/head/; revision=87661
* s/sysctl -w/sysctl/Ruslan Ermilov2001-12-111-1/+1
| | | | Notes: svn path=/head/; revision=87647
* Add new boot flag to i386 boot: -p.Guido van Rooij2001-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 Notes: svn path=/head/; revision=87620
* Fix typo: 'fragement' -> 'fragment'Sheldon Hearn2001-12-071-1/+1
| | | | Notes: svn path=/head/; revision=87491
* Files in subdirectories of directories that have the nodump flag setDavid E. O'Brien2001-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> Notes: svn path=/head/; revision=87413
* Fix breakage in 'camcontrol defects' introduced in rev 1.34 (the new errorKenneth D. Merry2001-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 Notes: svn path=/head/; revision=87378
* Move the WARNS attribute down so that it also applies to theMike Barcroft2001-12-051-1/+1
| | | | | | | RELEASE_CRUNCH case. Notes: svn path=/head/; revision=87376
* mdoc(7) police: section 1 and 8 manpages document their exitRuslan Ermilov2001-12-041-4/+2
| | | | | | | | codes under the DIAGNOSTICS section, not RETURN VALUES, which is for section 2, 3, and 9 manpages. Notes: svn path=/head/; revision=87360
* Actually I haven't enumerated the return values yet (thats why I hadn'tDavid E. O'Brien2001-12-041-1/+1
| | | | | | | | committed it yet). So vague'ize the wording a little bit to make up for it. Notes: svn path=/head/; revision=87328
* Default to WARNS=2.David E. O'Brien2001-12-0491-22/+102
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* MTU and metric are available with NET_RT_IFLIST.Ruslan Ermilov2001-12-031-22/+4
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=87274
* o Update sysctl.8 to reflect renaming of various security-relatedRobert Watson2001-11-301-2/+5
| | | | | | | | | | sysctls, and to introduce new ones. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=87152
* Fix the example of suggested default settings. It stated that settingsSheldon Hearn2001-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. Notes: svn path=/head/; revision=86996
* Correct the example introduced in rev 1.29, which suggested a block:fragSheldon Hearn2001-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. Notes: svn path=/head/; revision=86987
* Make -log_ipfw_denied active by default with -verbose.Ruslan Ermilov2001-11-272-1/+8
| | | | | | | Discussed with: phk Notes: svn path=/head/; revision=86955
* Fixed (local) style bugs in previous revision.Ruslan Ermilov2001-11-272-6/+10
| | | | Notes: svn path=/head/; revision=86954
* Spelling police: sucessful -> successful.Dima Dorfman2001-11-241-1/+1
| | | | | | | Submitted by: Anders Andersson <anders@codefactory.se> Notes: svn path=/head/; revision=86881
* Spelling police: "more then" - "more than" where appropriate.Dima Dorfman2001-11-242-2/+2
| | | | Notes: svn path=/head/; revision=86875
* Fix decode tableAndrey A. Chernov2001-11-231-5/+5
| | | | | | | | PR: 32233 Submitted by: Basileios Anastasatos <B.Anastasatos@MyRealBox.com> Notes: svn path=/head/; revision=86838
* Add Greek conversion tableAndrey A. Chernov2001-11-202-1/+61
| | | | | | | | PR: 32119 Submitted by: Basileios Anastasatos <B.Anastasatos@MyRealBox.com> Notes: svn path=/head/; revision=86695
* Fix a large number of -Wall, -Wformat and -W compiler warnings.Ian Dowse2001-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. Notes: svn path=/head/; revision=86514
* Give a more useful diagnostic when an extraneous hard link to aIan Dowse2001-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 Notes: svn path=/head/; revision=86512
* Zap a number of #ifdef sunos blocks, and all of the `register'Ian Dowse2001-11-177-102/+53
| | | | | | | keywords. Notes: svn path=/head/; revision=86473
* Give a sensible error message when the filesystem to be dumped isIan Dowse2001-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> Notes: svn path=/head/; revision=86470
* Back out previous commit.Jeroen Ruigrok van der Werven2001-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> Notes: svn path=/head/; revision=86407
* Report ad hoc mode correctly.Jeroen Ruigrok van der Werven2001-11-151-0/+2
| | | | | | | Submitted by: udp <udp@sneakerz.org> Notes: svn path=/head/; revision=86403
* note that 'nolockd' can't be used when updating mount flagsAlfred Perlstein2001-11-121-0/+3
| | | | Notes: svn path=/head/; revision=86285
* Allow users to use the 'nolockd' or -L options with mount_nfs in orderAlfred Perlstein2001-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. Notes: svn path=/head/; revision=86284
* Check that the mode argument to fsdb's `chmod' command contains noIan Dowse2001-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. Notes: svn path=/head/; revision=86258
* Add a few articles to improve the readability of this manual page.Murray Stokely2001-11-051-9/+9
| | | | | | | | PR: docs/31583 Submitted by: setantae@submonkey.net Notes: svn path=/head/; revision=86075
* sync the code with the one in stable (mostly formatting changes).Luigi Rizzo2001-11-041-26/+27
| | | | Notes: svn path=/head/; revision=86052
* Refer people looking to figure out what major to use for a device toDima Dorfman2001-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 Notes: svn path=/head/; revision=86049
* Repocopy pc98 fdisk out of its hidden subdir. Reconnect it to the build.Peter Wemm2001-11-046-2019/+5
| | | | Notes: svn path=/head/; revision=86032
* Remove support for FreeBSD/tahoePeter Wemm2001-11-031-19/+0
| | | | | | | Submitted by: phk Notes: svn path=/head/; revision=85960
* Repo copied contents of src/sbin/i386 to src/sbin and set specificPeter Wemm2001-11-0311-3388/+0
| | | | | | | SUBDIR lists there. Some of these are used on other platforms. Notes: svn path=/head/; revision=85955
* Move i386/{fdisk,cxconfig,nextboot} to src/sbin. Eliminate the i386Peter Wemm2001-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. Notes: svn path=/head/; revision=85954
* style(9) cleanup.Poul-Henning Kamp2001-11-022-53/+52
| | | | | | | | Submitted by: j mckitrick <jcm@freebsd-uk.eu.org> Reviewed by: phk, /sbin/md5 Notes: svn path=/head/; revision=85860
* Cosmetic: Don't output a blank line if a driver providesYaroslav Tykhiy2001-11-021-2/+1
| | | | | | | | | | | no media status. PR: bin/30587 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> MFC after: 1 week Notes: svn path=/head/; revision=85853
* Fix a typo in a format string, and fix error checking for missingLuigi Rizzo2001-11-011-6/+5
| | | | | | | masks in "limit" rules. Notes: svn path=/head/; revision=85814
* Do not uselessly whine in syslog about packets denied by ipfw rules.Poul-Henning Kamp2001-10-312-3/+19
| | | | | | | | | | | | Set 'log_ipfw_denied' option if you want the old behaviour. PR: 30255 Submitted by: Flemming "F3" Jacobsen <fj@batmule.dk> Reviewed by: phk MFC after: 4 weeks Notes: svn path=/head/; revision=85770
* Replace `=' with more correct ``.Ql =''.Anton Berezin2001-10-311-1/+2
| | | | | | | Mdoc-policed by: ru Notes: svn path=/head/; revision=85769
* Implement -e option. It modifies the output produced by sysctl(8) inAnton Berezin2001-10-302-13/+31
| | | | | | | | | | | | | | such a way that the name and the value of the variable(s) are separated with `=' instead of the usual `: '. This is useful for producing output that can be fed back to the sysctl utility (pasted to sysctl.conf, for example). Reviewed by: rwatson Approved by: markm MFC after: 2 weeks Notes: svn path=/head/; revision=85747
* Fix a bug where restore(8) segfaults while trying to restore on aAnton Berezin2001-10-301-0/+1
| | | | | | | | | | | read-only FS. Reviewed by: audit silence Approved by: markm MFC after: 2 weeks Notes: svn path=/head/; revision=85746