Gentoo Archives: gentoo-embedded

From: Todd Goodman <tsg@×××××××××.net>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] quickpkg and PKG_INSTALL_MASK
Date: Tue, 24 Jan 2012 15:08:50
Message-Id: 20120124140629.GR26939@ns1.bonedaddy.net
In Reply to: Re: [gentoo-embedded] quickpkg and PKG_INSTALL_MASK by Joakim Tjernlund
1 * Joakim Tjernlund <joakim.tjernlund@×××××××××.se> [120124 02:18]:
2 > Ed W <lists@××××××××××.com> wrote on 2012/01/23 19:43:49:
3 [ .. ]
4 > > I'm doing something like this using aufs. The performance seems "not
5 > > bad", but you get a couple MB or so memory hit. (I'm using squashfs as
6 > > well, so unsure which causes the main memory increase).
7 >
8 > hmm, not sure how aufs would work out. One would like to permanently delete the
9
10 aufs is A Union FileSystem. You can have a RO "branch" (say SquashFS)
11 and a r/w "branch" (say JFFS2 or UBIFS.) When you write it will write
12 to the r/w branch and when you read it will read from the r/w branch if
13 it exists, else the r/o.
14
15 So, if you want to permanently delete the old software. Write it to the
16 filesystem r/w filesystem (initially or after you have the aufs mounts
17 mounted.) Then you can delete from the r/w filesystem and it's gone for
18 good.
19
20 > old sw at some point and I don't see how, perhaps I misunderstand something?
21 >
22 > How does aufs do w.r.t power cuts? We need a reliable FS w.r.t power cuts. In the
23 > past we have used JFFS2 on NOR flash and that has worked really well. Now
24 > we need to switch to NAND due to size requirements.
25
26 You still want to pick a r/w branch with a filesystem that handles power
27 cuts well. You can continue to use JFFS2.
28
29 [..]
30
31 Todd

Replies

Subject Author
Re: [gentoo-embedded] quickpkg and PKG_INSTALL_MASK Ed W <lists@××××××××××.com>