dd if=/dev/zero of=/root/loopfile bs=1024k count=20
losetup /dev/loop0 /root/loopfile
mkfs -t ext2 -m 0 /root/loopfile
mount -t ext2 /root/loopfile /mnt/sonstwohin

Das legt ein 20MB Loopfile an.

http://www.linux-magazin.de/heft_abo/ausgaben/2004/03/lese_schutz/(offset)/2