Re: nfs MNT include cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Aug 18, 2009, at 8:44 AM, maximilian attems wrote:
On Tue, Aug 18, 2009 at 08:45:49AM -0400, Chuck Lever wrote:

However, the kernel has its own NFS mount client (the piece that
handles rpcbind query and obtaining the root file handle), and you can pass a C string of mount options to the kernel with mount(2). Perhaps in the long term, you might consider replacing the specialized code in
klibc with simply passing the server, export path, and mount options
right to the kernel and let it do the work. This should work with any
kernel later than 2.6.23.

I'm happy to help with any questions.

sounds good indeed.
a quick one: can it do nfs v4 mounts?

Yes, in fact. Set the file system type to "nfs4" instead of "nfs" when invoking mount(2).

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux