diff options
author | charnier <charnier@FreeBSD.org> | 2000-12-10 20:59:30 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2000-12-10 20:59:30 +0000 |
commit | 01d6566515708f2acac92856724020d5d56e4666 (patch) | |
tree | acaaf393783bed0d058e90d9a22ca6f42ee5ed77 /sbin/tunefs/tunefs.8 | |
parent | f360ce304c9b38425485e6b7c5afae7cf7665407 (diff) | |
download | FreeBSD-src-01d6566515708f2acac92856724020d5d56e4666.zip FreeBSD-src-01d6566515708f2acac92856724020d5d56e4666.tar.gz |
The tunefs code assumed that the last argument was the device specification.
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>
Diffstat (limited to 'sbin/tunefs/tunefs.8')
-rw-r--r-- | sbin/tunefs/tunefs.8 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/tunefs/tunefs.8 b/sbin/tunefs/tunefs.8 index eec7614..72fc5a7 100644 --- a/sbin/tunefs/tunefs.8 +++ b/sbin/tunefs/tunefs.8 @@ -47,7 +47,7 @@ .Op Fl m Ar minfree .Bk -words .Op Fl n Ar enable | disable -.Op Fl o Ar optimize_preference +.Op Fl o Ar space | time .Op Fl p .Ek .Ar special | Ar filesystem @@ -108,7 +108,7 @@ been deleted to get under the higher threshold. .It Fl n Ar enable | disable Turn on/off soft updates. An unmounted filesystem is required. -.It Fl o Ar optimize_preference +.It Fl o Ar space | time The file system can either try to minimize the time spent allocating blocks, or it can attempt to minimize the space fragmentation on the disk. |