summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* tunefs no longer outputs a warning if one tries to set soft-updates ondd2002-01-071-21/+0
| | | | | | | an unmounted filesystem. PR: 32266 Submitted by: Maxim Konovalov <maxim@macomnet.ru>
* In the words of the submitter:dd2002-01-071-1/+1
| | | | | | | | | | | | The first "synopsis" example has a "[/prefixlength]" which shouldn't be there, since that stuff is part of the preceeding "address" as is explained in the description of "address". (The way it is now, 192.168.0.1/16/prefixlength would be a proper operand. Note that "prefixlength" is not mentioned by name anywhere.) PR: 32462 Submitted by: Gary W. Swearingen <swear@blarg.net>
* In the words of the submitter:dd2002-01-072-2/+2
| | | | | | | | | | | disklabel(8)'s "Reading the disk label" section starts out "To examine or save the label on a disk drive,...". This is confusing. The given command (disklabel [-r] disk) doesn't save anything (except to standard out, but that should go without saying). It reads as if the command might save something on the disk drive. PR: 32452 Submitted by: Gary W. Swearingen <swear@blarg.net>
* o Note that packets diverted using a 'divert' socket, and thenrwatson2002-01-031-0/+9
| | | | | | | | reinserted by a userland process, will lose a number of packet attributes, including their source interface. This may affect the behavior of later rules, and while not strictly a BUG, may cause unexpected behavior if not clearly documented. A similar note for natd(8) might be desirable.
* Move the discussion of how many times a packet will pass throughyar2002-01-021-20/+18
| | | | | | | | ipfirewall(4) to the IMPLEMENTATION NOTES section because it considers kernel internals and may confuse newbies if placed at the very beginning of the manpage (where it used to be previously.) Not objected by: luigi
* Clarify the "show" ipfw(8) command.yar2002-01-021-2/+6
| | | | | PR: docs/31263 Permitted by: luigi
* Fix a typo: wierd -> weirdyar2002-01-021-1/+1
|
* Fix bugs in the structure for rx_frame by making gap length one byte andambrisko2001-12-311-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a packed array so sizeof work. This broke RFMON mode and passing up 802.11 packets. The Linux emulation code was derived from the open source Linux driver to maintain compatibility. LEAP support is added, hints from Richard Johnson. I've verified this locally with PC350v42510.img firmware. More bug fixing from Marco to fix long passwords. Change DELAYs in flash part of driver to FLASH_DELAY which uses tsleep so it doesn't look like your system died during a flash update. Install header files in /usr/include/dev/an Cleanup some ifmedia bugs add "Home" key mode to ifmedia and ancontrol. This way you can manage 2 keys a little easier. Map the home mode into key 5. Enhance ifconfig to dump the various configured SSIDs. I use a bunch of different ones and roam between them. Use the syntax similar to the WEP keys to deal with setting difference SSIDs. Bump up up the Card capabilities RID since they added 2 bytes to it in the latest firmware. Thankfully we changed it from a terminal failure so the card still worked but the driver whined. Some cleanup patches from Marco Molteni. Submitted by: Richard Johnson <raj@cisco.com> Marco Molteni <molter@tin.it> and myself Various checks: David Wolfskill <david@catwhisker.org> Reviewed by: Brooks Davis <brooks@freebsd.org> Warner Losh <imp@freebsd.org> Approved by: Brooks Davis <brooks@freebsd.org> Warner Losh <imp@freebsd.org> Obtained from: Linux emulation API's from Aironet driver.
* Implement the option to disable IPv6 on an sppp interface (counterpartjoerg2001-12-302-1/+18
| | | | | | to the kernel code just committed). MFC after: 1 month
* Oops, the arguments to a bcopy() were reversed, which broke zeroingiedowse2001-12-301-3/+2
| | | | | | | | | of unused partition entries and later detection of unused entries. Use memcpy to be consistent with the rest of the code, and fix a minor style nit. Submitted by: bde
* Allow setting of variables of type dev_t by indicating the name ofphk2001-12-301-13/+34
| | | | | | | | | | | | | | | a special file on the command line, eg: sysctl kern.dumpdev=/dev/ad1s1b In parse(), when a value is given for a CTLTYPE_QUAD variable, newval and newsize erroneously fail to be set because of an early "break". show_var() contains code that duplicates the functionality of the oidfmt() function. PR: 33151, 33150 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
* Fix documentation to match realityjulian2001-12-281-7/+15
|
* Clean up half a dozen of header files that are no longer needed now thatjoerg2001-12-271-8/+1
| | | | | | we use struct sppp_parms instead of struct sppp for userland programs. MFC after: 1 month
* Userland part of making the LCP restart timer configurable.joerg2001-12-272-2/+23
| | | | Obtained from: i4b (with changes)
* Implement knobs to enable/disable VJ header compression.joerg2001-12-272-2/+17
| | | | | Submitted by: i4b (modified) MFC after: 1 month
* 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
OpenPOWER on IntegriCloud