Fuzzy Fox writes:
> H. Peter Anvin <[EMAIL PROTECTED]> wrote:
> >
> > The problem is that almost everything that browses does both a
> > readdir() and a stat(); the readdir() is easy but keeping the stat()
> > from mounting the filesystem is really, really hard...
>
> In my experience with other automounters, that's how they work. If you
> stat() the mount-point, the filesystem is mounted. I don't see it as a
> problem; just the cost of doing business. :)
There may be no need to worry. This trickery with stat(2) is only an
issue if the mount point appears in a readdir(2), which in turn would
happen if you hacked around with symlinks. If "fakes" are used, we can
get around that. Alternatively, if overloading the dentry lookup
method is used, it may also not be a problem.
Regards,
Richard....