◄  ▲  ► |
# Create empty loopback filesystem - 4MB - depending on how you count it
echo "Creating 4MB empty file for the loopback file system"
dd if=/dev/zero of=fs bs=1k count=4000 > /dev/null
# Create an ext2 file system in the loopback file with 2000 i-nodes (more than needed)
echo "Making new EXT2 file system in the 'fs' loopback file"
mke2fs -q -F -m 0 -N 2000 fs