Added scan_partition() function which can be used by disk systems (e.g.

in *_initialize()) to save some work.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22441 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2007-10-04 18:03:24 +00:00
parent 088136f66b
commit 8c8f8c8420
8 changed files with 78 additions and 7 deletions
@@ -66,6 +66,8 @@ public:
// Both the device and the partition is also registered and must be
// unregistered by the caller.
status_t ScanPartition(KPartition* partition, bool async);
partition_id CreateFileDevice(const char *filePath,
bool *newlyCreated = NULL, bool async = true);
status_t DeleteFileDevice(const char *filePath);