Add a method to get the partition's file descriptor.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9955 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2003, Axel Dörfler, [email protected]. All rights reserved.
|
* Copyright 2003-2004, Axel Dörfler, [email protected].
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
#ifndef KERNEL_BOOT_PARTITIONS_H
|
#ifndef KERNEL_BOOT_PARTITIONS_H
|
||||||
#define KERNEL_BOOT_PARTITIONS_H
|
#define KERNEL_BOOT_PARTITIONS_H
|
||||||
|
|
||||||
@@ -35,6 +35,8 @@ class Partition : public Node, public partition_data {
|
|||||||
bool IsPartitioningSystem() const { return fIsPartitioningSystem; }
|
bool IsPartitioningSystem() const { return fIsPartitioningSystem; }
|
||||||
const char *ModuleName() const { return fModuleName; }
|
const char *ModuleName() const { return fModuleName; }
|
||||||
|
|
||||||
|
int FD() const { return fFD; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int fFD;
|
int fFD;
|
||||||
NodeList fChildren;
|
NodeList fChildren;
|
||||||
|
|||||||
Reference in New Issue
Block a user