summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vnconfig
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-01-30 10:12:51 +0000
committerphk <phk@FreeBSD.org>2001-01-30 10:12:51 +0000
commit8a594fc12fb5af6f5b5a098a493027be150ae5b5 (patch)
tree90873db31aee2c74ae14d2f6af3f1593cc55c05f /usr.sbin/vnconfig
parenta49c48615623b801a79a4866eb4e83818c18963e (diff)
downloadFreeBSD-src-8a594fc12fb5af6f5b5a098a493027be150ae5b5.zip
FreeBSD-src-8a594fc12fb5af6f5b5a098a493027be150ae5b5.tar.gz
Make vnconfig annoy users for 15 seconds to make them switch to mdconfig.
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