Monthly Archives: May 2008

Linux: Creating a new loop file system within a loop file system

create a 1 mesg file: dd if=/dev/zero of=file.img bs=1k count=1000 sudo /sbin/losetup /dev/loop0 file.img sudo /sbin/mke2fs -c /dev/loop0 1000 4. $ mkdir /mnt/point $ mount -t ext2 /dev/loop1 /mnt/point $ ls /mnt/point lost+found

Posted in linux, ubuntu | Leave a comment