LWN.net Logo

avoiding loopback for squashfs

avoiding loopback for squashfs

Posted Feb 1, 2007 17:31 UTC (Thu) by daney (subscriber, #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


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds