summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Banish hard-coded KERNBASE references from savecore. Dynamicallypeter2001-08-241-1/+15
| | | | adjust to whatever kernbase is in the kernel that we are dumping.
* ``create'' and ``destroy'' are command modifiers (.Cm), not flags (.Fl).yar2001-08-221-2/+2
|
* mdoc(7) police: Fixed broken xrefs.ru2001-08-221-1/+1
|
* Handle snprintf() returning < 0 (not just -1)brian2001-08-203-3/+7
| | | | MFC after: 2 weeks
* Handle snprintf() returning -1.brian2001-08-203-5/+9
| | | | MFC after: 2 weeks
* Fix grammar.dd2001-08-201-1/+2
|
* Respect the -N flag when changing directory attributes in setdirmode).dd2001-08-201-4/+6
| | | | | PR: 29671 Submitted by: Sascha Blank <sblank@addcom.de>
* Silence non-constant format string warnings by marking functionskris2001-08-1913-28/+28
| | | | | | | as __printflike()/__printf0like(), adding const, or adding missing "%s" format strings, as appropriate. MFC after: 2 weeks
* Actuall make plumb work in addition to create as per the manpage.brooks2001-08-171-1/+2
| | | | | PR: bin/29812 Submitted by: Joao Carlos Mendes Luis <jonny@eng05.embratel.net.br>
* mdoc(7) police: restore markup bit that got accidentally lost in rev. 1.44.ru2001-08-161-1/+1
|
* mdoc(7) police: replace `\*(Ba' with a simple `|', it's handled specially.ru2001-08-161-1/+1
|
* mdoc(7) police: Section cross-references are marked with .Sx.ru2001-08-161-3/+2
| | | | -compat is not a valid keyword.
* Implement a better compatibility mode with mount_mfs. It is thedd2001-08-162-6/+120
| | | | | | | | | | | | | | | | | default if the executable is named (called as) "mount_*", or can be enabled with the -C option. This allows users to leave their old fstab entires unchanged (modulo symlink'ing mdmfs to mount(md|mfs)) and have things behave the way they should (by emulating mount_mfs silliness), while still allowing mdmfs to be used as a generic make-an-md-and-mount-it type thing. Right now, the only effects of this option is to set the mount-point mode to 01777 as if "-p 1777" was given, and to complain about getting command-line options that mount_mfs didn't take (e.g., -X, -L, et al). The latter is mostly to try to catch operator errors. Also implement -U, which turns on soft-updates. It's redundant (since softdep is the default), but implement it anyway for compatibility.
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-153-11/+5
|
* style(9) tweakobrien2001-08-141-24/+24
| | | | Approved by: dd
* mdoc(7) police: s/BSD/.Bx/ where appropriate.ru2001-08-1410-16/+43
|
* 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>
OpenPOWER on IntegriCloud