summaryrefslogtreecommitdiffstats
path: root/sbin/tunefs
Commit message (Collapse)AuthorAgeFilesLines
* The tunefs code assumed that the last argument was the device specification.charnier2000-12-102-90/+142
| | | | | | | | | | | | | | | We need to parse the arguments first, then open the device (if specified) and then apply the changes. This change will disallow the (undocumented) use of multiple instances of the same argument on the same command line for the sack of a better error message. Other changes are: 1) the softupdates (-n) now issue a warning about remaining unchanged 2) the usage and man page is changed to specify "space | time" instead of "optimization preference". PR: bin/23335 Submitted by:Mark Peek <mark@whistle.com>
* Remove .Op when arg is required (special | filesystem). Document that atcharnier2000-11-282-126/+117
| | | | | least one flag is required and check this in the code. Make use of getopt(3). Generalyze printing `... remains unchanged ...'.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Open the device read-only initially and re-open read-write if necessarysheldonh2000-03-141-13/+33
| | | | | | | | | | | | | | later. This allows tunefs -p on mounted filesystems. Side-effects: Use K&R prototypes. Use definitions from fcntl.h for the flags argument to open(2). There are cosmetic differences between this and the submitted patch. PR: 17143 Reported by: Peter Edwards <peter.edwards@ireland.com> Submitted by: luoqi
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-5/+10
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Remove unused #include and prototype declaration.luoqi2000-01-301-2/+0
|
* Typo fix. While I am at it, remove the name translation from block to rawluoqi2000-01-301-26/+3
| | | | | | | device, they are equivalent now (or more accurately we no longer have block devices). Submitted by: Gregory Sutter <gsutter@pobox.com>
* Document a waring that tunefs(8) emits when enabling/disablingphantom2000-01-071-0/+19
| | | | | | | soft updates on an unmounted filesystem. PR: docs/15657 Submitted by: Mark Ovens <mark@ukug.uk.FreeBSD.org>
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Check if an fs is mounted before checking if it is mounted read-only.luoqi1999-07-191-2/+3
| | | | Pointed out by: Mike Smith <msmith@freebsd.org>
* Allow tuning of read-only mounted file system.luoqi1999-01-201-4/+47
| | | | Reviewed by: Bruce Evans <bde@zeta.org.au>
* Sort options alphabetically.des1999-01-131-2/+2
|
* Document -n (soft-update) flag.charnier1998-08-032-21/+21
| | | | Add rcsid, remove unused #includes. Sync usage() and SYNOPSIS.
* Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman)julian1998-03-082-1/+23
| | | | | Submitted by: Kirk McKusick (mcKusick@mckusick.com) Obtained from: WHistle development tree
* Cosmetic in usage string.charnier1997-06-191-1/+1
|
* Correct some man page cross references and some filempp1996-02-051-2/+1
| | | | locations.
* Add (apparently) Larry McVoy's warning....peter1995-08-121-0/+2
|
* When tuneing filesystems with tunefs, it is not obvious what the currentjoerg1995-06-252-0/+39
| | | | | | | | | | | | | | | | | parameters are. You can use dumpfs, but that's not obvious which settings are tuneable, and is far from clear to the non-guru (it's like using a hexdump of a tar archive to get a table-of-contents). There is also an undocumented option in the man page that can be dangerous. Suppose your disk driver decides to scramble all writes while you tell tunefs to update all backup superblocks. This suggested change adds a '-p' (print) switch to bring it in line with some SVR4 systems. (Slightly changed by me, mostly for optics. - joerg) Submitted by: peter@haywire.dialix.com
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* Changed manual page to conform to the reality in FreeBSD.dg1995-03-151-9/+8
|
* Convert to our man installation style. Also fixed long-standing bugwollman1994-08-051-1/+1
| | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-263-0/+428
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud