On Wed, 2006-02-08 at 18:44 -0800, Ed Swierk wrote: > I'd like to create a union mount /home/eswierk/root consisting of > aread-only replica of / and a writable scratch > directory/home/eswierk/scratch. Of course since the scratch directory > livesunder /, this means that the branches overlap. > I built a version of unionfs-1.1.2 with the overlap checks > commentedout, so the mount works. Odd things happen if I attempt to > write to afile in /home/eswierk/root/home/eswierk/scratch, but no > serious damageseems to occur. > What other risks are there in using overlapping branches this way?
Essentially the same risks as modifying the lower-level branches. Unionfs may get confused, because it doesn't expect things to change from underneath it (and it stores pointers to those lower-level objects). It shouldn't crash your kernel (hopefully), but the results that you get are going to be undefined if you access /home/eswierk/root/home/eswierk/scratch. Charles _______________________________________________ unionfs mailing list [email protected] http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs
