Page 1 of 1

squashfs support for mount?

Posted: Sun Nov 25, 2012 11:07 am
by beatfreak
i am trying to mount a squashfs image but no luck...

Code: Select all

# /bin/busybox mount -t squashfs /dtv/usb/sda1/SamyGO/squashimg /dtv/usb/sda1/SamyGO/mnt 
mount: mounting /dev/loop0 on /dtv/usb/sda1/SamyGO/mnt failed
# /bin/busybox mount -o rw,loop /dtv/usb/sda1/SamyGO/squashimg /dtv/usb/sda1/SamyGO/mnt 
mount: mounting /dev/loop0 on /dtv/usb/sda1/SamyGO/mnt failed
so i guess there is no support for squashfs, would it simply be compiling fs-modules for armv7 arch and insmod them?

would be really nice to have this working, as 1,5GB pvrimage would only cost ~100KB on pendrive :mrgreen:

EDIT:
cat /proc/mounts gives that already some of the native partitions are mounted with squashfs...
i used squashfs v4.0

Re: squashfs support for mount?

Posted: Sun Nov 25, 2012 2:20 pm
by arris69
you know that squashfs is a read only filesystem?

Re: squashfs support for mount?

Posted: Sun Nov 25, 2012 2:25 pm
by beatfreak
i was just thinking of some kind of linking-trick to fake the mounted xfsimage be writable...

no alternate compressed filesystems to hold xfsimage? jffs2?