diff --git a/sbin/newfs/newfs.8 b/sbin/newfs/newfs.8 index 64548bbb6d9d..ef90f88a9a28 100644 --- a/sbin/newfs/newfs.8 +++ b/sbin/newfs/newfs.8 @@ -80,6 +80,12 @@ .Op Fl o Ar options .Op Fl s Ar size .Ar special node +.Sh WARNING +.Nm mount_mfs +is being phased out. +Please see +.Xr mdconfig 8 +for the replacement. .Sh DESCRIPTION .Nm Newfs is used to initialize and clear filesystems before first use. diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index cc86950a2500..8a9f00dac778 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -245,6 +245,12 @@ main(argc, argv) if (strstr(progname, "mfs")) { mfs = 1; 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 ?