summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vnconfig
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/vnconfig')
-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 47e0e3d..2c5be57 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 98e9d77..823df94 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) {
OpenPOWER on IntegriCloud