[haiku-commits] Re: BRANCH pdziepak-github.nfs4 - src/add-ons/kernel/file_systems/nfs4

  • From: Pawel Dziepak <pdziepak@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 22 Dec 2012 15:50:14 +0100

2012/12/21 Julian Harnath <julian.harnath@xxxxxxxxxxxxxx>:
> François Revol <revol@xxxxxxx> schrieb:
>> On 19/12/2012 14:59, Pawel Dziepak wrote:
>> >> Well the fs itself has to be created with the option also IIRC,
>> > > and at
>> >> least be mounted with user_xattr option for it to work...
>> >> no wonder nobody uses them in linux.
>> >
>> > I've checked the Linux nfsd source code. Unfortunately, named
>> > attributes are not supported regardless of the underlying file
>> > system.
>> > Operation OPENATTR, which is the only way to get access to the
>> > named
>> > attributes, is hardcoded to return NFS4ERR_NOTSUPP.
>>
>> I suppose if we don't do it ourselves they never will.
>
> There are some patches for NFSv3 at http://namei.org/nfsv3xattr/ but I
> have no experience at all with them.

Unfortunately these patches are not of much use for us. Basically,
they introduce an unstandardised extension for NFSv3 that allow direct
access to xattrs. What we need is full support of NFSv4 named
attributes.

Paweł Dziepak

Other related posts: