mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
Kernel: Change Ext2FS to be backed by a file instead of a block device
This ensures that we can mount image files as virtual disks without the need of implementing gross hacks like loopback devices :)
This commit is contained in:
parent
2f2016f51d
commit
6b59311d4b
Notes:
sideshowbarker
2024-07-19 07:59:58 +09:00
Author: https://github.com/supercomputer7
Commit: 6b59311d4b
Pull-request: https://github.com/SerenityOS/serenity/pull/1513
Issue: https://github.com/SerenityOS/serenity/issues/1351
Reviewed-by: https://github.com/bugaevc
10 changed files with 116 additions and 90 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