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


On Sun, 23 Mar 2008, Václav Haisman wrote:

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

I think it sounds fairly reasonable.  However, the switch for ufs_pathconf() 
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, that 
what they mean by XATTR is what we mean by extended attribute.  However, I 
think that's a confusion fairly specific to Solaris and that we do have and 
apply a consistent meaning for extended attribute.  A question for Pawel would 
be how he plans to expose ZFS "extended attributes" (file streams) in FreeBSD, 
so I've CC'd him.

Robert N M Watson
Computer Laboratory
University of Cambridge

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