Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2008 11:05:41 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <v.haisman@sh.cvut.cz>
Cc:        freebsd-fs@freebsd.org, pjd@FreeBSD.org
Subject:   Re: Indication of extended attributes availability.
Message-ID:  <20080323110257.O80582@fledge.watson.org>
In-Reply-To: <47E62AB7.60300@sh.cvut.cz>
References:  <47E43496.5080201@sh.cvut.cz> <20080322180253.B27442@fledge.watson.org> <47E55BC1.9080707@sh.cvut.cz> <20080322195758.K32322@fledge.watson.org> <47E570D2.8010502@sh.cvut.cz> <47E62AB7.60300@sh.cvut.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--621616949-1592165432-1206270341=:80582
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE


On Sun, 23 Mar 2008, V=E1clav Haisman wrote:

> What about <http://shell.sh.cvut.cz/~wilx/freebsd/extattr2.diff>? It exte=
nds=20
> ufs_pathconf() with handling of _PC_XATTR_ENABLED. The patch is untested.

I think it sounds fairly reasonable.  However, the switch for ufs_pathconf(=
)=20
appears to be missing the _PC_XATTR_EXISTS case?

I'd probably panic rather than KASSERT() there.

I'll also need to update the fpathconf(2) man page to list _PC_XATTR_*.

Finally, I'm not convinced, having reread the fsattr man page on Solaris, t=
hat=20
what they mean by XATTR is what we mean by extended attribute.  However, I=
=20
think that's a confusion fairly specific to Solaris and that we do have and=
=20
apply a consistent meaning for extended attribute.  A question for Pawel wo=
uld=20
be how he plans to expose ZFS "extended attributes" (file streams) in FreeB=
SD,=20
so I've CC'd him.

Robert N M Watson
Computer Laboratory
University of Cambridge
--621616949-1592165432-1206270341=:80582--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080323110257.O80582>