Make mount_mfs annoy users for 15 seconds and point them at mdconfig(8).
This commit is contained in:
parent
01b96fdf9e
commit
7cf109c1b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71833
@ -80,6 +80,12 @@
|
|||||||
.Op Fl o Ar options
|
.Op Fl o Ar options
|
||||||
.Op Fl s Ar size
|
.Op Fl s Ar size
|
||||||
.Ar special node
|
.Ar special node
|
||||||
|
.Sh WARNING
|
||||||
|
.Nm mount_mfs
|
||||||
|
is being phased out.
|
||||||
|
Please see
|
||||||
|
.Xr mdconfig 8
|
||||||
|
for the replacement.
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Newfs
|
.Nm Newfs
|
||||||
is used to initialize and clear filesystems before first use.
|
is used to initialize and clear filesystems before first use.
|
||||||
|
@ -245,6 +245,12 @@ main(argc, argv)
|
|||||||
if (strstr(progname, "mfs")) {
|
if (strstr(progname, "mfs")) {
|
||||||
mfs = 1;
|
mfs = 1;
|
||||||
Nflag++;
|
Nflag++;
|
||||||
|
fprintf(stderr,
|
||||||
|
"WARNING: MFS is being phased out in preference for md devices\n"
|
||||||
|
"WARNING: Please see mdconfig(8) for details\n"
|
||||||
|
"WARNING: Continuing in 15 seconds\n");
|
||||||
|
sleep(15);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
opstring = mfs ?
|
opstring = mfs ?
|
||||||
|
Loading…
Reference in New Issue
Block a user