Date: Sat, 27 Oct 2001 10:44:21 -0700 (PDT) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_conf.c subr_disk.c Message-ID: <200110271744.f9RHiLL72416@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2001/10/27 10:44:21 PDT
Modified files:
sys/kern kern_conf.c subr_disk.c
Log:
Nudge the axe a bit closer to cdevsw[]:
Make it a panic to repeat make_dev() or destroy_dev(), this check
should maybe be neutered when -current goes -stable.
Whine if devsw() is called on anon dev_t's in a devfs system.
Make a hack to avoid our lazy-eval disk code triggering the above whine.
Fix the multiple make_dev() in disk code by making ${disk}${unit}s${slice}
an alias/symlink to ${disk}${unit}s${slice}c
Revision Changes Path
1.99 +11 -0 src/sys/kern/kern_conf.c
1.45 +55 -2 src/sys/kern/subr_disk.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110271744.f9RHiLL72416>
