summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* ftrace is already initializedpeter2001-08-131-1/+1
|
* Spell "FreeBSD" with "F" and "BSD" in uppercase.ru2001-08-134-4/+9
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-134-5/+0
|
* Honour `TMPDIR' environment variable.sobomax2001-08-131-3/+9
| | | | | | Reviewed by: ru Approved by: ru MFC after: 2 weeks
* Don't hard-code BINOWN and BINGRP (BINGRP was hard-coded to 'bin', whichkris2001-08-111-2/+0
| | | | | | is the wrong value on FreeBSD). MFC after: 1 week
* Mark some functions as __printflike()kris2001-08-101-3/+3
| | | | MFC After: 1 week
* mdoc(7) police: join split punctuation to macro calls.ru2001-08-101-2/+2
|
* mdoc(7) police: fixed the "new sentence" bogons.ru2001-08-101-1/+1
|
* mdoc(7) police: protect trailing full stops of abbreviationsru2001-08-106-7/+7
| | | | with a trailing zero-width space: `e.g.\&'.
* mdoc(7) police: removed (now gratuitous) .Xo/.Xc brackets.ru2001-08-101-18/+6
|
* mdoc(7) police: spelling, punctuation and markup nits.ru2001-08-101-10/+12
|
* mdoc(7) police: compute the exact tag width.ru2001-08-101-1/+1
|
* Document how to cancel a scheduled shutdown.dd2001-08-091-0/+12
| | | | Obtained from: OpenBSD
* fixing a bug in test mode (growfs -N)chm2001-08-082-35/+75
| | | | | | Submitted by: Chris Boltwood <chris@hiendmedia.com> Reviewed by: tomsoft MFC after: 5 days
* Add mention of /var/run/dmesg.boot.sheldonh2001-08-081-0/+7
| | | | | Yes, this isn't really the right place for it. No, it really can't remain undocumented.
* can not -> cannotsheldonh2001-08-081-1/+1
|
* Move all the prototypes to one place.dd2001-08-071-3/+2
|
* Introduce a force option, MD_FORCE, that instructs the driver todd2001-08-072-0/+9
| | | | | | | | | | | | | | | | bypass some extra anti-foot-shooting measures. Currently, its only effect is to allow detaching a device while it's still open (e.g., mounted). This is useful for testing how the system reacts to a disk suddenly going away, which can happen with some removeable media. At this point, the force option is only checked on detach, so it would've been possible to allow the option to be passed with the MDIOCDETACH operation. This was not done to allow the possibility of having the force flag influence other tests in the future, which may not necessarily deal with detaching the device. Reviewed by: sobomax Approved by: phk
* mdoc(7) police:ru2001-08-0711-80/+66
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Spelling.mckay2001-08-071-2/+2
|
* printed current sequence number of the SA. accordingly, changedume2001-08-061-2/+2
| | | | | | | | into sadb_x_sa2_sequence from sadb_x_sa2_reserved3 in the sadb_x_sa2 structure. Also the output of setkey is changed. sequence number of the sadb is replaced to the end of the output. Obtained from: KAME
* Fixed one more breakage introduced in 1.103 cleanup.ru2001-08-061-1/+2
| | | | | | | | | ICMP types were reported incorrectly: # ipfw add allow icmp from any to any icmptypes 0,8 PR: bin/29185 Submitted by: Mike Durian <durian@boogie.com>
* Fix a number of bugs and annoyances in fdisk, many of which wereiedowse2001-08-052-148/+192
| | | | | | | | | | | | | | | | | | | | pointed out by bde: - Ask for user confirmation before adjusting to a head/cylinder boundary (only when running interactively), and separate this adjustment from the automatic calculation of c/h/s parameters. - In sanitize_partition, don't change any values in the slice until we know that the automatic adjustment will succeed. - When auto-adjusting, ignore unused slices and give an appropriate error for other zero-size slices depending on the cause. - Change dos() to do all of the c/h/s calculations for a whole slice; this fixes a bug where the ending c/h/s of an unused slice was set incorrectly. - When changing the active slice, detect the currently active slice number instead of always defaulting to slice 4. - Call fflush(stdout) before calling fgets(). - Test for fgets() returning NULL so we don't loop on EOF. Reviewed by: bde
* Add some features to libdevstat, and overhaul the interface a bit:tmm2001-08-041-2/+2
| | | | | | | | | | | | | | | | | | | | | 1.) prefix all functions in the library with devstat_ (compatability functions are available for all functions that were chaned in an incompatible way, but are deprecated). 2.) Add a pointer to a kvm_t as the first argument to functions that used to get their information via sysctl; they behave the same as before when NULL is passed as this argument, otherwise, the information is obtained via libkvm using the supplied handle. 3.) Add a new function, devstat_compute_statistics(), that is intended to replace the old compute_stats() function. It offers more statistics data, and has a more flexible interface. libdevstat does now require libkvm; a library depedency is added, so that libkvm only needs to be explicitely specified for statically linked programs. The library major version number is bumped. Submitted by: Sergey A. Osokin <osa@freebsd.org.ru>, ken (3) Reviewed by: ken
* Document the deprecated `-w' option in the COMPATIBILITY section.yar2001-08-021-0/+4
|
* MFS: in HISTORY section, fix release number of first appearancesheldonh2001-08-012-2/+2
|
* style(9)obrien2001-08-011-1/+1
|
* This is actually making its enterance in FreeBSD 4.4.obrien2001-08-011-1/+1
|
* Since the ``-w'' sysctl(8) option has been deprecated,yar2001-07-301-1/+1
| | | | don't mention it in the manpages.
* Document -X.dd2001-07-301-0/+3
| | | | Submitted by: kris
* Nuke my e-mail address since it seems out of place here.dd2001-07-302-3/+2
|
* Add KOI8-U tablesache2001-07-282-1/+61
| | | | Submitted by: Olexander Kunytsa <kunia@istc.kiev.ua>
* ifconfig if0 netmask xxx.xxx.xxx.0 didn't change the netmask.ume2001-07-261-1/+3
| | | | | PR: bin/28833 MFC after: 3 days
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thesheldonh2001-07-262-2/+2
| | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms>
* Fix a stupid bug which resulted in a blank line in the status output ifbrooks2001-07-251-8/+4
| | | | | | WEP is supported, but not keys are set. MFC after: 3 days
* sprintf -> snprintfkris2001-07-241-1/+2
| | | | | Obtained from: OpenBSD MFC After: 1 week
* s/adress/address/kris2001-07-231-2/+2
| | | | | Inspired by: OpenBSD MFC After: 1 week
* Fix some bugs and general brain damage in mounttab:iedowse2001-07-221-4/+3
| | | | | | | | | | | | | | | | | | | | - Declare mtabhead as an extern in mounttab.h and define it only in mounttab.c. - Remove shared global `verbose' and instead pass it as a parameter. - Remove the `mtabp' argument to read_mtab(). It served no purpose whatsoever, although read_mtab() did use it as a temporary local variable. - Don't check for impossible conditions when parsing mounttab, and do detect zero-length fields. - Correctly test for strtoul() failures - just testing ERANGE is wrong. - Include a field name in syslog errors, and avoid passing NULL to a syslog %s field. - Don't test if arrays are NULL. - If there are duplicates when writing out mounttab, keep the last entry instead of the first, as it will have a later timestamp. - Fix a few formatting issues. Update rpc.umntall and umount to match the mounttab interface changes.
* Error messaging in ipfw(8) was out of hand, almost 50 lines of usagecjc2001-07-221-109/+114
| | | | | | | | | | | | | | information for any command line error, the actual error message almost always (and sometimes irretrievably) lost scrolling off the top of the screen. Now just print the error. Give ipfw(8) no arguments for the old usage summary. Thanks to Lyndon Nerenberg <lyndon@orthanc.ab.ca> for the patch and PR, but I had already done this when ru pointed out the PR. PR: bin/28729 Approved by: ru MFC after: 1 week
* Include the remote hostname in RPC-related warning messages. Exitiedowse2001-07-221-25/+24
| | | | | | | | | | | | | | | | | | immediately if a host specified by the -h flag cannot be parsed instead of attempting to unmount all NFS filesystems, which was bad. Add a missing return statement at the end of checkname(); this could result in a non-zero exit status in some cases even if the unmount succeeded. Group two separate NFS-related operations into one block to make it more obvious that a variable (hostp) is not dereferenced when uninitialised. Initialise it to NULL anyway to avoid a warning. Pass in the read_mtab()'s bogus argument as NULL instead of messing with a local variable to achieve the same effect. A later commit will clean up this mounttab interface.
* Change the foreground mount behaviour so that we keep retryingiedowse2001-07-212-7/+26
| | | | | | | | | | forever by default. This matches what mount_nfs did before revision 1.40, and it is the generally expected behaviour for NFS mounts. Document the current defaults near the start of the man page and mention the options that can be used to change them. Discussed on: -hackers
* Dike out the IPX bits if RELEASE_CRUNCH is defined.obrien2001-07-212-2/+23
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-8/+11
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Since revision 1.40/1.41, the default behaviour for mount_nfs isiedowse2001-07-192-12/+20
| | | | | | | | | | | | | | | | | to give up after one attempt unless a background mount is requested. Background mounts would retry 10000 times (at least 7 days) before giving up. For some situations such as diskless terminals, an NFS filesystem may be critical to the boot process, so neither the "try once" nor background mounts are appropiate. To cater for this situation, unbreak the -R (retry count) parameter so that it also works in the non-background case. Interpret a zero retry count as "retry forever". The defaults are now "try once" for non-background mounts and "retry forever" for background mounts; both can be overridden via -R. Add a description of this behaviour to the manpage.
* Document "-F".obrien2001-07-191-0/+7
|
* Change exit return value to better match fsck_ffs(8).obrien2001-07-191-1/+1
|
* Recognize the "-F" option which requests whether the filesystem needs toobrien2001-07-191-1/+5
| | | | | | | be cleaned immediately in foreground, or if its cleaning can be deferred to background. Submitted by: Maxime Henrion <mux@qualys.com>
* Use MD_NAME and MDCTL_NAME constants where appropriate.dd2001-07-181-1/+2
|
* fdisk(8): document the default for -b, add xref to boot0cfg(8).ru2001-07-182-0/+6
| | | | | | boot0cfg(8): add FILES section. Reviewed by: rnordier
* Sort options in DESCRIPTION.dd2001-07-151-14/+14
|
OpenPOWER on IntegriCloud