2 * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>
3 * Distributed under the terms of the MIT License.
9 #include <fs_interface.h>
18 Volume(fs_volume
* fsVolume
);
21 fs_volume
* FSVolume() const { return fFSVolume
; }
22 dev_t
ID() const { return fFSVolume
->id
; }
24 fs_volume
* SourceFSVolume() const
25 { return fSourceFSVolume
; }
27 Node
* RootNode() const { return fRootNode
; }
28 const char* Name() const { return fName
; }
30 status_t
Mount(const char* parameterString
);
33 const fs_vnode_ops
* VnodeOps() const { return &fVnodeOps
; }
36 struct VolumeListener
;
37 friend struct VolumeListener
;
40 status_t
_InitVnodeOpsFrom(fs_vnode
* sourceNode
);
44 fs_volume
* fSourceFSVolume
;
48 fs_vnode_ops fVnodeOps
;
50 char fName
[B_PATH_NAME_LENGTH
];