Re: [Question] mount points on knfsd.

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 10 Sep 1998 03:22:50 +0100 (BST)


> But it is not clear what it should do. The problem with what nfsd
> does now is that it returns an EACCESS (-13) error when you LOOKUP
> the mount point, and mount with not let you mount onto that directory.
>
> There seem to be several possible solutions:
>
> 1) return the underlying directory. This should be easy; you can use
> dchild->d_covers in fs/nfsd/vfs.c line 176.

That would work. And the underlying directory is on the right file system
so would have a valid inode for that fs

> 2) return a different error or patch mount so that it will allow the
> mount.

Anyone happen to know what you get off Solaris in these circumsntaces ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html