Hello, I have a similar question: I have a setup like Michael described below. The main difference is that the top layer is in memory, the middle layer on harddisk and the bottom layer on a cd-rom. It would be nice if there was the opportunity to "approve" the changes in the top layer and move those approved changes to the middle layer to make them permanent.
Is there something available to move between layers, or is that already supported somehow by aufs? Best regards, Marcel Gerrits Michael Towers wrote: > Hi there, > > I have a feature request. I don't know whether it would be possible, or > whether you have a better idea, but here goes. > > I have a three layer aufs mount, which is being used as the root fs: > > [top]layer1=rw(tmpfs):layer2=ro+wh(squashfs):layer3=rr(squashfs)[bottom] > > What I want to do is rebuild the layer2 squashfs with layer1 merged in, > retaining all relevant whiteouts. I can of course do this by copying > everything to a new directory and resquashing. But it seems to me it > would be much easier (and I suppose much quicker, as well as > space-saving) if there was a new aufs mount option which made the > (non-covered) whiteouts visible. > > My idea is that I would use a second aufs mount, reusing the top two layers: > > [top]layer1=ro+wh(tmpfs):layer2=ro+wh(squashfs)[bottom] > > If I had this new mount option, I could then just squash up the new aufs > mount, because the whiteouts necessary to overlay layer3 would now be > visible - easy (for the end user), with no copying, searching, etc. > > What do you think? Would it be possible? Or is it just wishful thinking? > > Regards, > mt > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/