lkml.org 
[lkml]   [1998]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[Question] mount points on knfsd.
Date
From

I would like some feed back on the best way to solve what I hope
is one of the last major problems in the fs/nfsd code in the kernel.

The NFS RFC is clear that nfsd should not cross a mount point.

A server will not allow a LOOKUP operation to cross a
mount-point to the root of a different file-system, even
if the file-system is exported.

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.

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

3) return some kind of `fake' file handle.

4) ...


Any ideas on the best way to deal with this will be appreciated.

Allen

---------------------------------
G. Allen Morris III

-
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

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.076 / U:3.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site