[klibc] nfs MNT include cleanup
H. Peter Anvin
hpa at zytor.com
Tue Aug 18 09:04:45 PDT 2009
On 08/18/2009 05: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?
>
I believe that was the reason for the change in the first place, and
yes, klibc should *absolutely* use it.
-hpa (who once again apologizes for lack of time...)
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
More information about the klibc
mailing list