* RescanDiskSystems() now locks the disk device manager, as it clobbers the

disk system lists.
* Added module watching; on module changes, it will now automatically rescan
  the disk systems.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26368 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-07-10 12:21:05 +00:00
parent 30e5affa9f
commit b4147ed317
2 changed files with 45 additions and 4 deletions
@@ -102,6 +102,7 @@ private:
struct DiskSystemMap;
struct PartitionMap;
struct PartitionSet;
class DiskSystemWatcher;
class DeviceWatcher;
static status_t _CheckMediaStatusDaemon(void* self);
@@ -132,6 +133,7 @@ private:
PartitionSet *fObsoletePartitions;
thread_id fMediaChecker;
volatile bool fTerminating;
DiskSystemWatcher *fDiskSystemWatcher;
DeviceWatcher *fDeviceWatcher;
static KDiskDeviceManager *sDefaultManager;