mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:18:11 +00:00
Kernel: Change Ext2FS to be backed by a file instead of a block device
In contrast to the previous patchset that was reverted, this time we use a "special" method to access a file with block size of 512 bytes (like a harddrive essentially).
This commit is contained in:
parent
1d6c8724b9
commit
ecee76b741
10 changed files with 104 additions and 77 deletions
|
@ -87,7 +87,7 @@ public:
|
|||
|
||||
int block_size() const { return m_block_size; }
|
||||
|
||||
virtual bool is_disk_backed() const { return false; }
|
||||
virtual bool is_file_backed() const { return false; }
|
||||
|
||||
protected:
|
||||
FS();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue