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
commit 1bf37db9a9
Notes: sideshowbarker 2024-07-19 14:37:09 +09:00
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/