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:
Axel Dörfler 2003-10-01 01:00:53 +00:00
parent 209d967508
commit b337ddf60a
1 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,9 @@ class Partition : public partition_data, public Node {
virtual int32 Type() const;
Partition *AddChild();
status_t Scan();
status_t Mount(Directory **_fileSystem = NULL);
status_t Scan(bool mountFileSystems);
Partition *Parent() const { return fParent; }
bool IsFileSystem() const { return fIsFileSystem; }