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:
Liav A 2020-04-06 11:54:21 +03:00 committed by Andreas Kling
commit ecee76b741
Notes: sideshowbarker 2024-07-19 07:51:19 +09:00
10 changed files with 104 additions and 77 deletions

View file

@ -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();