Building UML Filesystems

Quick receipe for building sparse filesytems for use with User-Mode Linux.


dd if=/dev/zero of=filesystem.ext2 seek=1024 count=1 bs=4M
/sbin/mkfs -t ext2 filesystem.ext2

This produces for me an empty loopback filesystem which is only 70M in size.

Comments are closed.