haiku/headers/private/kernel/disk_device_manager
Michael Lotz 06da81f012 Implement node monitoring in the kernel disk device manager.
* Added {Create|Delete}Device() analogous to {Create|Delete}FileDevice
* Added a small DeviceWatcher class that reacts to entry creation/removal
* Implemented a way to start/stop node monitoring
* Start watching for devices after the boot volume has been mounted and the
  the second initial scan was run

The disk device manager now creates and scans a device when a "raw" node is
published and deletes the device on removal. This makes hot-plugging of disk
devices (for example memory sticks using usb_disk) work. Their partitions will
be scanned and published so they can be mounted. Somehow the removal of the
partitions does not yet work however, any insights are welcome.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-03 18:14:11 +00:00
..
ddm_modules.h * The shadow_changed() FS and partitioning system hooks take an 2007-10-07 15:39:35 +00:00
ddm_userland_interface.h Folded KPhysicalPartition into KPartition. Removed the notion of shadow 2007-11-01 23:36:21 +00:00
KDiskDevice.h On a media change, the KDiskDevice must do a bit more than it did: 2007-11-13 12:18:06 +00:00
KDiskDeviceManager.h Implement node monitoring in the kernel disk device manager. 2008-04-03 18:14:11 +00:00
KDiskDeviceUtils.h Fixes that make Haiku build with gcc 4. Mainly out of the following 2005-11-12 23:27:14 +00:00
KDiskSystem.h * Added back and partially reimplemented the 2007-11-05 00:42:47 +00:00
KFileDiskDevice.h * Reworked publishing/unpublishing of the device. This is now basically 2004-10-28 22:22:04 +00:00
KFileSystem.h * Added back and partially reimplemented the 2007-11-05 00:42:47 +00:00
KPartition.h axeld + bonefish: 2007-11-12 18:41:36 +00:00
KPartitioningSystem.h * Added back and partially reimplemented the 2007-11-05 00:42:47 +00:00
KPartitionListener.h Added a KPartition listener mechanism and made use of it to keep shadow partitions with the corresponding physical ones in sync. 2003-09-28 22:04:13 +00:00
KPartitionVisitor.h Added KPartitionVisitor class used for advanced partition tree traversal. 2003-08-03 18:23:53 +00:00
RWLocker.h Moved to headers/private/kernel/disk_device_manager, since it is included by KDiskDevice.h. 2004-10-27 21:38:01 +00:00