"Steven N. Hirsch" wrote:
>
> On Fri, 18 Feb 2000, Jeremy Fitzhardinge wrote:
>
> >
> > On 18-Feb-00 Steven N. Hirsch wrote:
> > > Yes, but that doesn't explain why I was able to clear /net/cy/* using a
> > > umount, then have a second attempt also fail to mount the cy:/ export.
> > > Unless... Are you saying that a SIGUSR1 is required in _addition_ (or in
> > > lieu of) a successful 'umount'?
> >
> > When you do the umount it unmounts the filesystem, but it leaves the
> > mount-point dirs there. autofs will only trigger a mount if you go
> > into a non-existent directory, or if the directory is empty. In this
> > case, the top-level directory (cy) was not empty because of the
> > usr/src mountpoint, so "cd /net/cy" just means 'go into the existing
> > directory /net/cy'.
>
> Ok, thanks for the explanation. I guess the real question is why didn't
> they both come back after the timeout. I'll peruse the server logs and
> see if anything jumps out.
>
These kinds of issues are part of why mount-trees are *very* complex.
There are all kinds of funny race conditions involved, too, since most
of these operations can't be performed under lock.
-hpa
--
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."