added disk systems rescan to DiskDeviceManager, and called it in the post init phase

the next step would be to rescan the partition tree with a job to recognize unrecognized partitions (asynchronously ?)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18737 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2006-09-04 12:37:56 +00:00
parent 5b0f7b1b1e
commit d564275ba7
5 changed files with 55 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
/*
* Copyright 2006, Jerome Duval. All rights reserved.
* Distributed under the terms of the MIT License.
*
*/
#ifndef _KERNEL_DDM_H
#define _KERNEL_DDM_H
#ifdef __cplusplus
extern "C" {
#endif
status_t ddm_init_post_modules(struct kernel_args *args);
#ifdef __cplusplus
}
#endif
#endif /* _KERNEL_DDM_H */
@@ -120,6 +120,7 @@ public:
// by the registrar.
status_t InitialDeviceScan();
status_t RescanDiskSystems();
private:
status_t _AddPartitioningSystem(const char *name);