Gentoo Archives: gentoo-dev

From: Thierry Carrez <koon@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] GNAP 1.7 Release (Gentoo Network APpliance)
Date: Tue, 31 May 2005 18:57:08
Message-Id: 429CB38B.8080709@gentoo.org
In Reply to: Re: [gentoo-dev] GNAP 1.7 Release (Gentoo Network APpliance) by Chris Gianelloni
1 Chris Gianelloni wrote:
2
3 >>R/W overlay
4 >>It is now possible to specify the name of a partition from which to
5 >>overlay files at boot-time, allowing to write configuration changes back
6 >>to a floppy or a specific CF partition for example.
7 >
8 > Just curious, but what did you do to do this? I'm going to guess
9 > there's some boot-time option to mount a unionfs, no? Is this something
10 > we can extend to genkernel to allow us to have configurable LiveCD
11 > releases, or is it something that is GNAP-specific?
12
13 Oh no. I just found out about unionfs very recently, thanks to solar.
14
15 The current implementation is completely manual (and asynchronous) : the
16 contents of the partition is overlaid over the live filesystem at boot,
17 and you can remount the partition later on to save modified files. The
18 idea is to backup some /etc and /var things that you want to keep over a
19 reboot.
20
21 What is GNAP-specific, though, is the idea to add a tarball to a LiveCD
22 and have an init script overlay files over the filesystem at boot. This
23 allows user-level customization of the LiveCD configuration files in
24 seconds. The "R/W overlay" feature is just there to avoid burning a new
25 LiveCD whenever you change a conf file.
26
27 --
28 Koon
29 --
30 gentoo-dev@g.o mailing list