Added a new method Mount() to Partition, Scan() now takes a parameter to
decide if it should mount file systems on the partition or not. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4877 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
209d967508
commit
b337ddf60a
|
@ -24,7 +24,9 @@ class Partition : public partition_data, public Node {
|
||||||
virtual int32 Type() const;
|
virtual int32 Type() const;
|
||||||
|
|
||||||
Partition *AddChild();
|
Partition *AddChild();
|
||||||
status_t Scan();
|
|
||||||
|
status_t Mount(Directory **_fileSystem = NULL);
|
||||||
|
status_t Scan(bool mountFileSystems);
|
||||||
|
|
||||||
Partition *Parent() const { return fParent; }
|
Partition *Parent() const { return fParent; }
|
||||||
bool IsFileSystem() const { return fIsFileSystem; }
|
bool IsFileSystem() const { return fIsFileSystem; }
|
||||||
|
|
Loading…
Reference in New Issue