Skip to content

Instantly share code, notes, and snippets.

@boardstretcher
Created September 19, 2013 02:07
Show Gist options
  • Save boardstretcher/6618260 to your computer and use it in GitHub Desktop.
Save boardstretcher/6618260 to your computer and use it in GitHub Desktop.
create a virtual drive and mount it
dd if=/dev/zero of=filesystem.ext3 bs=1k count=32000
mkfs -t ext3 -F filesystem.ext3
mkdir -pv /mnt/virtsys
mount -o loop filesystem.ext3 /mnt/virtsys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment