summaryrefslogtreecommitdiffstats
path: root/sbin/mdconfig/mdconfig.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-02-26 15:31:47 +0000
committerphk <phk@FreeBSD.org>2001-02-26 15:31:47 +0000
commitcc205c859c0fc8d21e2615282aa28723242a45af (patch)
treed176c229ffdea0801e461ca0ebc5b88fa8fc24df /sbin/mdconfig/mdconfig.c
parentba42cfc998c52c5b981d7d9bada12b355c52d970 (diff)
downloadFreeBSD-src-cc205c859c0fc8d21e2615282aa28723242a45af.zip
FreeBSD-src-cc205c859c0fc8d21e2615282aa28723242a45af.tar.gz
Remove "autounit" from settable options, it's the default unless you
specify -u. Spotted by: dcs
Diffstat (limited to 'sbin/mdconfig/mdconfig.c')
-rw-r--r--sbin/mdconfig/mdconfig.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sbin/mdconfig/mdconfig.c b/sbin/mdconfig/mdconfig.c
index 2723cb6..231133f 100644
--- a/sbin/mdconfig/mdconfig.c
+++ b/sbin/mdconfig/mdconfig.c
@@ -41,7 +41,7 @@ usage()
fprintf(stderr, "\tmdconfig -d -u unit\n");
fprintf(stderr, "\tmdconfig -l [-u unit]\n");
fprintf(stderr, "\t\ttype = {malloc, preload, vnode, swap}\n");
- fprintf(stderr, "\t\toption = {cluster, compress, reserve, autounit}\n");
+ fprintf(stderr, "\t\toption = {cluster, compress, reserve}\n");
fprintf(stderr, "\t\tsize = %%d (512 byte blocks), %%dk (kB), %%dm (MB) or %%dg (GB)\n");
exit(1);
}
@@ -118,10 +118,6 @@ main(int argc, char **argv)
mdio.md_options |= MD_RESERVE;
else if (!strcmp(optarg, "noreserve"))
mdio.md_options &= ~MD_RESERVE;
- else if (!strcmp(optarg, "autounit"))
- mdio.md_options |= MD_AUTOUNIT;
- else if (!strcmp(optarg, "noautounit"))
- mdio.md_options &= ~MD_AUTOUNIT;
else
errx(1, "Unknown option.");
break;
OpenPOWER on IntegriCloud