detecting filesystem type for squashsfs 3.3

Jordi Pujol jordipujolp at gmail.com
Wed Feb 13 16:28:41 UTC 2008


Hello Daniel and list,

When using the external command losetup, from the /sbin directory, fstype 
recognize the squashfs 3.3 filesystem

+ /sbin/losetup /dev/loop0 /live/image/JPLivePersonal/filesystem.squashfs
+ [ Yes = Yes ]
+ echo # setup_loop ()
/live/image/JPLivePersonal/filesystem.squashfs	/dev/loop0	auto	noauto,	0	0
+ echo /dev/loop0
+ return 0
+ echo /dev/loop0
+ backdev=/dev/loop0
+ get_fstype /dev/loop0
+ local FSTYPE
+ local FSSIZE
+ fstype
+ eval FSTYPE=squashfs FSSIZE=1538766210
+ FSTYPE=squashfs FSSIZE=1538766210

Regards,

Jordi Pujol



More information about the debian-live-devel mailing list