Gentoo Archives: gentoo-dev

From: Andrew Gaffney <agaffney@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Advice regarding backporting to Gentoo from Tin Hat.
Date: Sat, 31 Jan 2009 18:27:41
Message-Id: 49849819.9080001@gentoo.org
In Reply to: [gentoo-dev] Advice regarding backporting to Gentoo from Tin Hat. by basile
1 basile wrote:
2 > Point 4 is what I think would be useful to Gentoo mainstream. The
3 > speed one gets from RAM totally beats a LiveCD using unionfs which has
4 > to periodically return to the slow cdrom.
5
6 This is already possible. With current genkernel (genkernel-9999 or
7 genkernel-3.4.10.903), you can boot with 'docache unionfs', which will copy the
8 squashfs to tmpfs, mount it, and then use unionfs-fuse to create a union with
9 another tmpfs.
10
11 Genkernel has offered the 'docache' option for quite a while, which has mostly
12 the safe effect, but without the unionfs, it uses nasty tricks like copying some
13 stuff to a tmpfs and then doing lots of symlinks into the squashfs.
14
15 Either way, it's entirely memory based after initial boot.
16
17 --
18 Andrew Gaffney http://dev.gentoo.org/~agaffney/
19 Gentoo Linux Developer Catalyst/Genkernel + Release Engineering Lead