Only in /cboss/freebsd/commit/src/sbin/mdmfs: CVS diff -u /cboss/freebsd/commit/src/sbin/mdmfs/mdmfs.8 ./mdmfs.8 --- /cboss/freebsd/commit/src/sbin/mdmfs/mdmfs.8 Sun Sep 22 10:37:38 2002 +++ ./mdmfs.8 Sun Nov 24 00:14:19 2002 @@ -50,6 +50,7 @@ .Op Fl o Ar mount-options .Op Fl p Ar permissions .Op Fl s Ar size +.Op Fl v Ar version .Op Fl w Ar user : Ns Ar group .Ar md-device .Ar mount-point @@ -69,6 +70,7 @@ .Op Fl O Ar optimization .Op Fl o Ar mount-options .Op Fl s Ar size +.Op Fl v Ar version .Ar md-device .Ar mount-point .Sh DESCRIPTION @@ -222,6 +224,14 @@ It is only really useful to negate the .Fl S flag, should such a need occur. +.It Fl v Ar version +Specify the UFS version number for use on the file system; the +default is derived from the default of the +.Xr newfs 8 +command, and may currently be one of +.Dv 1 +or +.Dv 2 . .It Fl w Ar user : Ns Ar group Set the owner and group to .Ar user diff -u /cboss/freebsd/commit/src/sbin/mdmfs/mdmfs.c ./mdmfs.c --- /cboss/freebsd/commit/src/sbin/mdmfs/mdmfs.c Sun Sep 22 10:37:38 2002 +++ ./mdmfs.c Sun Nov 24 00:25:36 2002 @@ -121,7 +121,7 @@ compat = true; while ((ch = getopt(argc, argv, - "a:b:Cc:Dd:e:F:f:hi:LMm:Nn:O:o:p:Ss:t:Uw:X")) != -1) + "a:b:Cc:Dd:e:F:f:hi:LMm:Nn:O:o:p:Ss:t:Uv:w:X")) != -1) switch (ch) { case 'a': argappend(&newfs_arg, "-a %s", optarg); @@ -211,6 +211,9 @@ break; case 'U': softdep = true; + break; + case 'v': + argappend(&newfs_arg, "-O%s", optarg); break; case 'w': if (compat)