Jeremy Fitzhardinge wrote: > > On Tue, Oct 31, 2000 at 06:46:17AM -0800, Ross E Tyler wrote: > > note that the following types of tests seem to work reliably: > > > > [ -d $DIR -o -d $DIR ] && echo success > > (cd $DIR) 2>/dev/null && echo success > > > > please email any responses directly to me. > > If this only applies to local mounts, it is a known bug in autofs-3.1.5 > and 3.1.6, caused as a side-effect of the new "bind mount" support for > local mounts. > > It was also a problem with autofs-4.0.0pre8, but has been fixed in > autofs-4.0.0pre9; autofs-4.0.0 is backwards-compatible with autofs-3.1.x. > > Alternatively, you could update your kernel to 2.4.0-test10 and use the > mount command from util-linux 2.10o - this will make the bind mounts work. > Actually, there is a bug in util-linux 2.10o which will make it a tossup if the bind mounts work or not (they don't on my system, for example); it's pretty much random based on the interaction of what filesystems are in your kernel permanently (not as modules) and what filesystems you currently have mounted... -- <[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt
