summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vnconfig/vnconfig.c
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/vnconfig.c
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/vnconfig.c')
-rw-r--r--usr.sbin/vnconfig/vnconfig.c6
1 files changed, 6 insertions, 0 deletions
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