Skip to content

Instantly share code, notes, and snippets.

@red-avtovo
Created October 19, 2020 16:23
Show Gist options
  • Save red-avtovo/3475ebbf2988da2daf92d3bb4827861b to your computer and use it in GitHub Desktop.
Save red-avtovo/3475ebbf2988da2daf92d3bb4827861b to your computer and use it in GitHub Desktop.
Virtual EXT4FS drive
dd if=/dev/zero of=test.img bs=4k count=60000
#240 Mb
mkfs.ext4 test.img
tune2fs -c0 -i0 test.img
mount -o loop test.img /mnt/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment