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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user