Filesystem overlay ?

Adil Kodian akodian-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Feb 4 22:02:00 UTC 2005


-----Original Message-----
From: owner-tlug-lxSQFCZeNF4 at public.gmane.org [mailto:owner-tlug-lxSQFCZeNF4 at public.gmane.org]On Behalf Of Taavi
Burns
Sent: Friday, February 04, 2005 2:51 PM
To: tlug-lxSQFCZeNF4 at public.gmane.org
Subject: Re: [TLUG]: Filesystem overlay ?


On Fri, 4 Feb 2005 14:40:18 -0700, Adil Kodian <akodian-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:
> you have a CDROM mounted with /var on it that is read-only.
>
> now you can create a ramdisk and mount it as /var (or whatever you need to
> be writable.

Normally that will "overmount" the CDROM so that all you get is your
ramdisk.




yep thats what i meant - in fact if you mount /var without the -O option,
youll get a busy signal.

but i doubt if it is as easy as specifying the right commands to mount -
atleast i couldnt get it with a simple google. A simple solution is to
create many 1mb tmpfs partitions in RAM that can be mounted as any folder
under /var - tmpfs dynamically resize these partitions in memory depending
on utilization. You must remember, this requires a significant amount of
ram. A better solution is to put in a dummy 10 or 20 gig hard drive, and get
the OS on the liveCD to reformat (and if needed -repartition) the hard drive
on every boot to create writable disk partitions for every install.
Depending on your system this can be really fast if you use reiserfs. This
is somewhat a hybrid between a full liveCD and a full install.




--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list