haiku/headers/private/kernel/disk_device_manager
Ingo Weinhold a365e1cfbb Patch by Bryce Groff, some changes by myself:
* devfs:
  - devfs_[un]publish_partition(): They no longer get the partition path as
    parameter, but rather the device path and the partition name.
  - Added devfs_rename_partition(), which renames an already published
    partition node.
* KPartition/KDiskDevice:
  - Replaced the fPublished flag by fPublishedName, the name under which the
    partition is published. This simplifies UnpublishDevice() and makes it
    practically infallible.
  - Added GetFileName(), which only returns the partition's file name.
    Simplified GetPath() by using it.
  - When a partition is added/removed the subsequent sibling partitions get a
    new index. Now we also rename their published device nodes (and those of
    their descendents). When something goes wrong we unpublish the concerned
    partition's device to be on the safe side. Would be a shame to accidentally
    format the wrong partition, eh? :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31520 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-11 14:35:04 +00:00
..
KDiskDevice.h Patch by Bryce Groff, some changes by myself: 2009-07-11 14:35:04 +00:00
KDiskDeviceManager.h * Implemented a basic notification mechanism. Right now, only media changes and 2009-03-18 08:55:49 +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 BDiskSystem::ShortName() and everything needed to get it there. 2008-05-10 11:44:00 +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 Patch by Bryce Groff, some changes by myself: 2009-07-11 14:35:04 +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
KPartitioningSystem.h * Added back and partially reimplemented the 2007-11-05 00:42:47 +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
ddm_modules.h * Added BDiskSystem::ShortName() and everything needed to get it there. 2008-05-10 11:44:00 +00:00
ddm_userland_interface.h * Implemented a basic notification mechanism. Right now, only media changes and 2009-03-18 08:55:49 +00:00