diff options
author | Alexis211 <alexis211@gmail.com> | 2009-11-29 17:06:47 +0100 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-11-29 17:06:47 +0100 |
commit | 32ffa508b6ee9c9b36e3a054d218ee90caea4c8b (patch) | |
tree | 4136164e7fb52005d57782c9ae70da89eca85807 /Source/Kernel/FileSystems | |
parent | 2be9def10e048b3245bb14e9fb57324c11c527d6 (diff) | |
download | Melon-32ffa508b6ee9c9b36e3a054d218ee90caea4c8b.tar.gz Melon-32ffa508b6ee9c9b36e3a054d218ee90caea4c8b.zip |
make qemu-hdd now works great
Diffstat (limited to 'Source/Kernel/FileSystems')
-rw-r--r-- | Source/Kernel/FileSystems/FAT/FATFS.class.h | 4 | ||||
-rw-r--r-- | Source/Kernel/FileSystems/RamFS/RamFS.class.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/Kernel/FileSystems/FAT/FATFS.class.h b/Source/Kernel/FileSystems/FAT/FATFS.class.h index fbefc02..114622a 100644 --- a/Source/Kernel/FileSystems/FAT/FATFS.class.h +++ b/Source/Kernel/FileSystems/FAT/FATFS.class.h @@ -112,8 +112,6 @@ class FATFS : public FileSystem { bool unmount(); - String getDevDescription() { return Part::partIdentifier(m_part); } - bool setName(FSNode* node, String name); bool setPermissions(FSNode* node, u32int permissions); bool setUid(FSNode* node, u32int uid); @@ -128,6 +126,8 @@ class FATFS : public FileSystem { FileNode* createFile(DirectoryNode* parent, String name); DirectoryNode* createDirectory(DirectoryNode* parent, String name); bool remove(DirectoryNode* parent, FSNode* node); + + Partition* getPart() { return m_part; } }; #endif diff --git a/Source/Kernel/FileSystems/RamFS/RamFS.class.h b/Source/Kernel/FileSystems/RamFS/RamFS.class.h index 042baa9..0368e60 100644 --- a/Source/Kernel/FileSystems/RamFS/RamFS.class.h +++ b/Source/Kernel/FileSystems/RamFS/RamFS.class.h @@ -35,8 +35,6 @@ class RamFS : public FileSystem { bool setGid(FSNode* node, u32int gid); bool setParent(FSNode* node, FSNode* parent); - String getDevDescription() { return "ramfs"; } - u32int read(FileNode* file, u64int position, u32int max_length, u8int *data); bool write(FileNode* file, u64int position, u32int length, u8int *data); bool truncate(FileNode* file); @@ -45,6 +43,8 @@ class RamFS : public FileSystem { FileNode* createFile(DirectoryNode* parent, String name); DirectoryNode* createDirectory(DirectoryNode* parent, String name); bool remove(DirectoryNode* parent, FSNode* node); + + Partition* getPart() { return 0; } }; #endif |