[Buildroot] buildroot with SquashFS root file system
Emmanuel BOUAZIZ
ebouaziz at neotion.com
Thu Dec 8 11:26:11 UTC 2011
On 12/08/2011 11:48 AM, Peter Korsgaard wrote:
> Emmanuel> The only remaining problem is that the whole filesystem is
> Emmanuel> read-only despite the 'rw' including /var and /tmp.
>
> That's because you're using squashfs. Squashfs is a readonly
> filesystem. Either move to initramfs or use ext2 in your initrd.
>
> /tmp should be a tmpfs though (check /etc/fstab), and most of /var
> symlinks to /tmp/.
>
Oh that's rigth, it's writable, I mixed with another directory that I wanted to write to (/usr/local). I mounted it as
tmpfs too and everything's fine now. Thanks a lot for your help :)
Well, I'll switch back to initramfs anyway since it's less tricky.
regards,
--
Emmanuel
More information about the buildroot
mailing list