phk 2072a71f0e Create a general facility for making dev_t's depend on another
dev_t.  The dev_depends(dev_t, dev_t) function is for tying them
to each other.

When destroy_dev() is called on a dev_t, all dev_t's depending
on it will also be destroyed (depth first order).

Rewrite the make_dev_alias() to use this dependency facility.

kern/subr_disk.c:
Make the disk mini-layer use dependencies to make sure all
relevant dev_t's are removed when the disk disappears.

Make the disk mini-layer precreate some magic sub devices
which the disk/slice/label code expects to be there.

kern/subr_disklabel.c:
Remove some now unneeded variables.

kern/subr_diskmbr.c:
Remove some ancient, commented out code.

kern/subr_diskslice.c:
Minor cleanup.  Use name from dev_t instead of dsname()
2001-05-26 08:27:58 +00:00
..
2001-01-28 06:39:56 +00:00
2001-04-13 09:37:25 +00:00
2000-12-01 08:57:47 +00:00
2001-01-01 23:09:53 +00:00
2000-09-29 13:36:47 +00:00
2001-05-24 18:06:22 +00:00
2000-12-01 08:57:47 +00:00
2001-05-15 18:12:38 +00:00