avoiding loopback for squashfs
avoiding loopback for squashfs
Posted Feb 1, 2007 17:31 UTC (Thu) by daney (guest, #24551)In reply to: avoiding loopback for squashfs by pjm
Parent article: Embedded Linux: Using Compressed File Systems
We use squashfs as the root on a NOR type flash with the mtd drivers. Something like this:
mksquashfs * ../root.squashfs -all-root -noappend
Then on the target device:
flashcp root.squashfs /dev/mtd1
The kernel command line to boot is then:
root=1f01 rootfstype=squashfs
