summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Minor grammar fixes.markm2002-02-061-4/+4
|
* Match the requirements of the new kernel structures.sos2002-02-041-0/+103
|
* If the dhcpd server doesn't provide a domain name or dns servers thenalfred2002-02-011-4/+7
| | | | | | | | | | don't clobber /etc/resolv.conf Add $FreeBSD. Submitted by: an j. peterson" <rbw@myplace.org> Verified fix in: dhcp-3.0.1rc6 PR: misc/34455
* Something i always wanted to see: add a function to print the list ofjoerg2002-01-264-19/+164
| | | | | | | | blocks allocated by some inode. Indirect blocks are printed recursively, so beware :), the list could become lengthy... (We should probably add some output pager to fsdb.) MFC after: 1 month
* Avoid pointless initialization of global variables to 0. This onlyjoerg2002-01-261-2/+2
| | | | | | | | bloats the resulting binary file by forcing them out of .bss into .data, while the C standard already guarantees them to become initialized to 0 at program startup. MFC after: 1 week
* Don't exit with -1 if the user typed "quit".joerg2002-01-261-1/+2
| | | | MFC after: 1 week
* Fix some function prototypes.phk2002-01-252-24/+24
| | | | | | | | | | Cure the "lets put everything in registers" ailment. Set WARNS=2 Fix two problems where casting messed up large quotafiles. PR: 34108 Submitted by: Maxim Katargin <kmv@asplinux.ru> MFC after: 3 weeks
* Remove a not-very-useful printf(3).green2002-01-251-1/+0
|
* Allow fsdb the ability to work with entries named with whitespace embedded.green2002-01-253-3/+33
| | | | | | | | | | | This works by retokenizing a line with a split limit so that if the argument count for a command is greater than the number of arguments formed by splitting apart the line of user input, the last argument is instead all of the remainder of the input line. Yes, I needed this capability at one point to fix a filesystem manually, which happened to break with a problematic space-containing directory entry.
* Insert a missing paragraph break (.Pp).schweikh2002-01-241-0/+1
| | | | MFC after: 3 weeks
* Style.ru2002-01-241-11/+8
| | | | Approved by: ken
* CG hard sentence breaks.sobomax2002-01-231-1/+2
| | | | Submitted by: ru
* Don't use `you'.sobomax2002-01-221-3/+2
| | | | Submitted by: ru
* Allow dump device be configured as early as possible using loader(8) tunable.sobomax2002-01-211-6/+12
| | | | | | | This allows obtaining crash dumps from the panics occured during late stages of kernel initialisation before system enters into single-user mode. MFC after: 2 weeks
* from select(2):billf2002-01-201-3/+9
| | | | | | | | | Any of readfds, writefds, and exceptfds may be given as nil pointers if no descriptors are of interest. neither wfds nor efds were of interest so now they are nil. also, do a little better then making an educated guess for nfds.
* I've been meaning to do this for a while. Add an underscore to thedillon2002-01-195-18/+18
| | | | | | | | time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx() instead of time_to_xxx(), to make it more obvious that these are stopgap functions & placemarkers and not meant to create a defacto standard. They will eventually be replaced when a real standard comes out of committee.
* By popular demand, also include the "devlist" subcommand into the setjoerg2002-01-181-1/+7
| | | | | | of commands available in the boot floppy environment. MFC after: 1 week
* Well, RELEASE_BUILD_FIXIT has now been renamed into RELEASE_CRUNCH.joerg2002-01-181-2/+2
| | | | | At least, the old version is still good for the MFC though (where everything is still going the old way). ;-)
* Add 'camcontrol rescan all' and 'camcontrol reset all' functionality token2002-01-182-46/+185
| | | | | | | | | | | | | | | camcontrol. This enables rescanning all busses or resetting all busses in a system. The current implementation is not the ideal way to do it -- the ideal way to do it would be for the transport layer to handle wildcarded busses on bus rescan and reset operations. The current implementation enumerates all the busses and sends a rescan or reset CCB individually. Handling this behavior in the transport layer will happen later. Reviewed by: imp Tested by: joerg MFC after: 1 week
* Introduce an interface announcement message for the routingru2002-01-181-1/+24
| | | | | | | | | socket so that routing daemons and other interested parties know when an interface is attached/detached. PR: kern/33747 Obtained from: NetBSD MFC after: 2 weeks
* Provide an option to make camcontrol `minimalistic': if the (env/make)joerg2002-01-172-1/+37
| | | | | | | | | variable RELEASE_BUILD_FIXIT is defined, a camcontrol binary will be built that only knows the "rescan" and "reset" subcommands. The resulting code is small enough to still fit onto the boot floppy. Reviewed by: ken MFC after: 1 week
* Fix typo by s/advertise/advertises/schweikh2002-01-161-1/+1
| | | | MFC after: 4 weeks
* - Attempt to help declutter kern. sysctl by moving security out fromarr2002-01-161-5/+5
| | | | | | beneath it. Reviewed by: rwatson
* Back out part of the revision 1.2 changes -- sendto(2) canru2002-01-151-73/+28
| | | | | | | | | | | | not return ENOBUFS for unreliable protocols like divert. This should fix an issue when natd(8) keeps spamming already full dummynet(4) queues with the same packet forever. Spotted by: chkno@dork.com Explained by: luigi Reviewed by: Ari Suutari <ari.suutari@syncrontech.com> MFC after: 2 weeks
* First ping after a preload (-l) was sent undelayed.ru2002-01-151-1/+2
| | | | | PR: bin/32354 Obtained from: ping.c,v 1.61
* Fixed two bugs with the "-l preload" option:ru2002-01-141-5/+9
| | | | | | | - first ping after a preload was sent undelayed - we could send more than -c packets in preload PR: bin/32354
* mdoc(7) police: tidy up the markup.ru2002-01-101-61/+86
|
* mdoc(7) police: tidy up the markup in revision 1.96.ru2002-01-101-5/+12
|
* mdoc(7) police: tidy up previous delta.ru2002-01-091-9/+6
|
* mdoc(7) police:ru2002-01-091-0/+14
| | | | | | Restore (sorta) a useful piece of information that got lost in the previous delta -- an ability to specify /prefixlength after an IPv6 address.
* 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>
OpenPOWER on IntegriCloud