From 8a594fc12fb5af6f5b5a098a493027be150ae5b5 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 30 Jan 2001 10:12:51 +0000 Subject: Make vnconfig annoy users for 15 seconds to make them switch to mdconfig. --- usr.sbin/vnconfig/vnconfig.8 | 6 ++++++ usr.sbin/vnconfig/vnconfig.c | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'usr.sbin/vnconfig') 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) { -- cgit v1.1