1
Fork 0
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:
Andreas Kling 2019-04-23 14:51:47 +02:00
parent 58240fdb33
commit 1bf37db9a9
3 changed files with 23 additions and 45 deletions

View file

@ -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/