2007-03-06 02:39:34 +00:00
|
|
|
// HaikuKernelFileSystem.h
|
|
|
|
|
|
|
|
|
|
#ifndef USERLAND_FS_HAIKU_KERNEL_FILE_SYSTEM_H
|
|
|
|
|
#define USERLAND_FS_HAIKU_KERNEL_FILE_SYSTEM_H
|
|
|
|
|
|
|
|
|
|
#include "FileSystem.h"
|
|
|
|
|
|
|
|
|
|
struct file_system_module_info;
|
|
|
|
|
|
|
|
|
|
namespace UserlandFS {
|
|
|
|
|
|
|
|
|
|
class HaikuKernelFileSystem : public FileSystem {
|
|
|
|
|
public:
|
|
|
|
|
HaikuKernelFileSystem(
|
|
|
|
|
file_system_module_info* fsModule);
|
|
|
|
|
virtual ~HaikuKernelFileSystem();
|
|
|
|
|
|
2007-03-06 07:52:24 +00:00
|
|
|
status_t Init();
|
|
|
|
|
|
2007-03-06 02:39:34 +00:00
|
|
|
virtual status_t CreateVolume(Volume** volume, mount_id id);
|
|
|
|
|
virtual status_t DeleteVolume(Volume* volume);
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
void _InitCapabilities();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
file_system_module_info* fFSModule;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace UserlandFS
|
|
|
|
|
|
|
|
|
|
using UserlandFS::HaikuKernelFileSystem;
|
|
|
|
|
|
|
|
|
|
#endif // USERLAND_FS_HAIKU_KERNEL_FILE_SYSTEM_H
|