Re: [Question] mount points on knfsd.

Ion Badulescu (ionut@moisil.cs.columbia.edu)
Sun, 13 Sep 1998 19:51:33 -0400


On Wed, 09 Sep 1998 23:40:02 EDT, Alan Cox wrote:
>> 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 ?

Precisely 1). On the local box I see the top filesystem, on the remote,
NFS-mounting box I see the underlying directory. This is Solaris 2.6, both
client and server.

Ion

-- 
  It is better to keep your mouth shut and be thought a fool,
            than to open it and remove all doubt.

- 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