From b337ddf60aefcfbcecc5f5a163018c0266c706cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 1 Oct 2003 01:00:53 +0000 Subject: [PATCH] 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 --- headers/private/kernel/boot/partitions.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/headers/private/kernel/boot/partitions.h b/headers/private/kernel/boot/partitions.h index 8b59342221..3d0c05a9f7 100644 --- a/headers/private/kernel/boot/partitions.h +++ b/headers/private/kernel/boot/partitions.h @@ -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; }