Viewing 1 item
Archive | Creating a loopback filesystem RSS feed for this section

Creating a loopback filesystem

Creating a loopback filesystem

Creating a loopback filesystem   allow to have a filesystem contain in a single files   losetup /dev/loop0   /tm/fstest.img mke2fs /dev/loop0 mkdir /mnt/fstestimage munt /dev/look0 /mnt/fstestimage/ df -h /mnt/fstestimage umount /mnt/fstestimage/ mount -o loop /tmp/fstest.img /mnt/fstestimage/ cd fstestimage/ ls dumpe2fs /tm/fstest.img     (look at the dump of the filesystem,inodes in use, ecc)

0