diff options
author | phk <phk@FreeBSD.org> | 2000-03-21 19:25:56 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-03-21 19:25:56 +0000 |
commit | 177c479a119f1c534af1b91f02f3172880a77bad (patch) | |
tree | 86060a7f92d1369b443e4b2d095ed82b19617882 /sys | |
parent | c91cd7ffb5c918639e5b11370b709fd94f3db25a (diff) | |
download | FreeBSD-src-177c479a119f1c534af1b91f02f3172880a77bad.zip FreeBSD-src-177c479a119f1c534af1b91f02f3172880a77bad.tar.gz |
Whine at users who still have block devices in /dev, give them until
june 1st to fix their system.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_conf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c index d6116f7..141627c 100644 --- a/sys/kern/kern_conf.c +++ b/sys/kern/kern_conf.c @@ -259,6 +259,7 @@ dev2udev(dev_t x) dev_t udev2dev(udev_t x, int b) { + static int whine; if (x == NOUDEV) return (NODEV); @@ -266,6 +267,10 @@ udev2dev(udev_t x, int b) case 0: return makedev(umajor(x), uminor(x)); case 1: + if (!whine) { + printf("WARNING: run /dev/MAKEDEV to get rid of block devices before 2000-06-01\n"); + whine++; + } return makebdev(umajor(x), uminor(x)); default: Debugger("udev2dev(...,X)"); |