Add infrastructure to locate a disk device by name by scanning the disk
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 30 Jul 2007 08:02:40 +0000 (08:02 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 30 Jul 2007 08:02:40 +0000 (08:02 +0000)
commita8873631b9b01f71c3530587f7bc00ce78de7b71
tree73ce164853b1c34d4eccd0ac15c96920316fa08f
parentc20ecd1a3024f5d775a34ed3eda4e2223e0fd560
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