summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2001-01-30 10:12:51 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2001-01-30 10:12:51 +0000
commit48b8568826e0dcf64bb71a1ebaf7fb829a9efe04 (patch)
tree99d25ee2bb976b18d4cd8846fc68b79539dcf962
parent12e0a85bba3783596a591278794afaa16961a511 (diff)
Notes
-rw-r--r--usr.sbin/vnconfig/vnconfig.86
-rw-r--r--usr.sbin/vnconfig/vnconfig.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/usr.sbin/vnconfig/vnconfig.8 b/usr.sbin/vnconfig/vnconfig.8
index 47e0e3db1af9c..2c5be5751960f 100644
--- a/usr.sbin/vnconfig/vnconfig.8
+++ b/usr.sbin/vnconfig/vnconfig.8
@@ -59,6 +59,12 @@
.Op Fl s Ar option
.Op Fl r Ar option
.Op Fl f Ar config_file
+.Sh WARNING
+.Nm
+is being phased out.
+Please use
+.Xr mdconfig 8
+instead.
.Sh DESCRIPTION
The
.Nm
diff --git a/usr.sbin/vnconfig/vnconfig.c b/usr.sbin/vnconfig/vnconfig.c
index 98e9d779a99b0..823df9410a99b 100644
--- a/usr.sbin/vnconfig/vnconfig.c
+++ b/usr.sbin/vnconfig/vnconfig.c
@@ -117,6 +117,12 @@ main(argc, argv)
char *autolabel = NULL;
char *s;
+ fprintf(stderr,
+"WARNING: vnconfig and the vn driver is being phased out.\n"
+"WARNING: You should use mdconfig and the md driver instead.\n"
+"WARNING: Continuing in 15 seconds...\n");
+ sleep(15);
+
configfile = _PATH_VNTAB;
while ((i = getopt(argc, argv, "acdef:gr:s:S:TZL:uv")) != -1)
switch (i) {