[oe] Making /var/lib persistent

Matthias Hentges oe at hentges.net
Thu Apr 19 23:32:33 UTC 2007


Am Mittwoch, den 18.04.2007, 19:02 +1000 schrieb Jamie Lenehan:
> On Tue, Apr 17, 2007 at 12:02:03AM +0200, Koen Kooi wrote:
> > Hi,
> > 
> > Marcel Holtmann just pointed me to the fact that OE mount /var as tmpfs for
> > almost all machines, which wipes /var/lib at boot, which will break bluez and
> > dpkg.
> > 
> > What would be the best way to preserve /var/lib (and maybe others) across boots?
> 
> This has been brought up a few times and no one has really had a good
> answer for it. I think /var/lib at a minimum needs to be made
> persistent.
> 
> After thinking about it a bit I've got the following proposal:
> 
>  - make /var a standard directory (no tmpfs)
> 
>  - make /var/volatile a tmpfs filesystems (or /var/tmpfs)
> 
>  - symlink things that are to be made volatile from /var into
>    /var/volatile
> 

Sounds fine to me.

-- 
Matthias 'CoreDump' Hentges 
Cologne / Germany

Webmaster of Hentges.net & Embedded Linux Developer
GPG ->  gpg --keyserver gpg-keyserver.de --recv-keys 0xAF3030D9

My OS: Debian SID: Geek by Nature, Linux by Choice


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20070420/bc045f6d/attachment-0002.sig>


More information about the Openembedded-devel mailing list