On 2/23/07, Jonas Karlsson <[EMAIL PROTECTED]> wrote: > 2007/2/23, Lucas C. Villa Real <[EMAIL PROTECTED]>: > > CVSROOT: /sources/goboscripts > > Module name: tools > > Changes by: Lucas C. Villa Real <lucasvr> 07/02/23 19:41:17 > > > > Modified files: > > Scripts/bin : SandboxInstall > > > > Log message: > > Removing '*__dir_opaque' files left over the rw_sandbox when using > > unionsandbox. > > > > CVSWeb URLs: > > http://cvs.savannah.gnu.org/viewcvs/tools/Scripts/bin/SandboxInstall?cvsroot=goboscripts&r1=1.38&r2=1.39 > > > > Patches: > > Index: SandboxInstall > > =================================================================== > > RCS file: /sources/goboscripts/tools/Scripts/bin/SandboxInstall,v > > retrieving revision 1.38 > > retrieving revision 1.39 > > diff -u -b -r1.38 -r1.39 > > --- SandboxInstall 16 Feb 2007 13:02:29 -0000 1.38 > > +++ SandboxInstall 23 Feb 2007 19:41:17 -0000 1.39 > > @@ -160,6 +160,7 @@ > > rm -f Programs/Glibc/Settings/ld.so.cache > > rm -f System/Kernel/Devices/null > > find -type d | xargs rmdir -p --ignore-fail-on-non-empty &> /dev/null > > + find -type f -name "*__dir_opaque" | xargs rm -f &> /dev/null > > if [ "$goboIndex" ] > > then > > # Sometimes writes to symlinks let files appear in a previous > > directory of the same program. > > I haven't tested this but shouldn't the "__dir_opaque" file be removed > first, so that directories that only includes those files, and will be > empty, is removed by the 'rmdir' command?
No, that's exactly what we want. Many programs rely on the existence of some mini-hierarchy under /var, for example (see CUPS, Apache, etc.) -- Lucas powered by /dev/dsp _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel