Add infrastructure to locate a disk device by name by scanning the disk
commit925fe76cb67d6f5dff2aee32774ce299327529c9
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 30 Jul 2007 08:02:40 +0000 (30 08:02 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 30 Jul 2007 08:02:40 +0000 (30 08:02 +0000)
tree7f4273ad90bdb500b313ba9408213dda2214603d
parent9d5bbc7cc7053be035cb13b48b46178e765068c1
Add infrastructure to locate a disk device by name by scanning the disk
list.  Note: This doesn't work with the 'vn' device yet but it does work
with ccd.

Add a VFS with a dummy mount which is capable of synthesizing vnodes for
devices.

Add infrastructure that allows easy opening and closing of a device-backed
vnode.
sys/conf/files
sys/kern/subr_disk.c
sys/kern/vfs_synth.c [new file with mode: 0644]
sys/kern/vfs_vnops.c
sys/sys/disk.h
sys/sys/vfscache.h
sys/sys/vnode.h