On Mon, Oct 24, 2011 at 13:43:13 +0100, Mr Dash Four <[email protected]> wrote: > > 1. How is the LiveCD file system constructed/built? I've read a variety > of articles and it seems that it is close to the UnionFS (rom+ram > "partitions"), but I am not sure that is used with the new versions of > Linux. I see there are multiple loop mounts on the system, but can't > figure out what they are.
It is originally written into an ext4 image. That image is then compacted and then written to a squashfs file system. > 2. My understanding is that all files that are modified in the "live" > image are stored "separately" on a "ram partition". If that is indeed > the case, can I look at what has been "modified" during the live > session? This is easily visible and implemented in UnionFS by a simple > "ls" on the ram (i.e. the read-write) part of the UnionFS, but I am not > sure how this is organised on the LiveCD system. A dm overlay is used. This can either be ram or separate overlay spaces for /home and/or /. I don't think this makes it easy to look at just what's changed (in terms of efficiency, not commands). You can use find to find files with a recent ctime, but you'd need to check every file. -- livecd mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/livecd
