Here are an example
Create empty 10 Mb file.
#dd if=/dev/zero of=file.img bs=1k count=10000
Attach the file to loopback file system
#losetup /dev/loop0 file.img
Create file system on loopback device
#mke2fs -c /dev/loop0 10000
Mount loopback device
#mount -t ext2 /dev/loop0 /mnt/point1
So you can have any file system on any file system.
To find out more detail about file system please visit the following links :
-Anatomy of file system
-Cryptographic File Systems Performance
-Loopback Tricks
ไม่มีความคิดเห็น:
แสดงความคิดเห็น