From: Mike Looijmans <mike.looijmans@topic.nl>
To: <yocto@yoctoproject.org>
Subject: Re: Read-only file system with persistent storage
Date: Mon, 20 Jul 2015 08:07:56 +0200 [thread overview]
Message-ID: <55AC903C.7040509@topic.nl> (raw)
In-Reply-To: <55A79757.8010704@mlbassoc.com>
On 16-07-15 13:36, Gary Thomas wrote:
> I'd like to set up a system with a read-only root file system
> along with some persistent read-write storage. What are the
> [best] options in Poky/Yocto for this? Is there any support
> for some type of overlay file system?
>
> Thanks for any ideas/pointers
Depends. NOR or NAND flash?
with NOR, you can store a squashfs rootfs into it, and then use another
portion with jffs2 or ubifs for r/w capability. If you want to be able to
change 'everything', you can use an overlay fs, this requires some fiddling
with pivot_root and friends.
with NAND, you'd have to use a fault-tolerant filesystem to store the rootfs.
Dunno if it's possible to store a squashfs as a volume into ubi. The rest is
similar to NOR.
Kind regards,
Mike Looijmans
System Expert
TOPIC Embedded Products
Eindhovenseweg 32-C, NL-5683 KH Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
Telefax: +31 (0) 499 33 69 70
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
next prev parent reply other threads:[~2015-07-20 6:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-16 11:36 Read-only file system with persistent storage Gary Thomas
2015-07-16 13:05 ` Daniel.
2015-07-17 13:03 ` Nikolay Dimitrov
2015-07-20 6:07 ` Mike Looijmans [this message]
2015-07-21 15:01 ` Thomas Petazzoni
2015-07-21 16:01 ` Matt Schuckmann
2015-07-23 13:24 ` Lukas Böhm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55AC903C.7040509@topic.nl \
--to=mike.looijmans@topic.nl \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.