mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
Ext2FS: Simplify block bitmap stuff.
Block bitmaps are only ever one block in size. I don't know why I thought otherwise, but use this info to simplify the code. :^)
This commit is contained in:
parent
58240fdb33
commit
1bf37db9a9
3 changed files with 23 additions and 45 deletions
|
@ -5,7 +5,7 @@ fi
|
|||
rm -vf _fs_contents.lock
|
||||
rm -vf _fs_contents
|
||||
dd if=/dev/zero of=_fs_contents bs=1M count=512
|
||||
mke2fs _fs_contents
|
||||
mke2fs -I 128 _fs_contents
|
||||
chown 1000:1000 _fs_contents
|
||||
mkdir -vp mnt
|
||||
mount -o loop _fs_contents mnt/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue