Hello Xavier, Xavier Pijuan: > The problem is that, in this case, mounting "/" and /tmp/rw in /tmp/jail > would cause an infinite loop in /tmp/jail/tmp/jail/tmp..., so aufs refuses to > do it. This seems reasonable, but I think there are other ways to solve it. > For example, I think the best option would be an "-o overlap=exclude" or > similar option, which would simply exclude the problematic directories from > the resulting filesystem. In that case: > > > # mount -t aufs -o br:/tmp/rw:/ aufs /tmp/jail
If both of your /tmp/rw and / exist on the same filesystem, then I'd recommend you to mount tmpfs to /tmp/rw. Aufs will not complain when two filesystems are different. J. R. Okajima ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com