Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 363 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 363 Bytes

ext2-fsck

Install ext2fs libarary (includes from linux)

sudo apt-get install e2fslibs-dev

Working with filesystem

# create file
mkfs.ext2 file 1000

# mount it
sudo mkdir /mnt/file
sudo mount -t ext2 -o loop file /mnt/file

# check if mounted
mount -t ext2

# unmount
# save the filesystem to file
sudo umount /mnt/file