tech-kern archive

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

Re: extattr namespaces



On Mon, Feb 06, 2012 at 04:47:35PM +0000, Emmanuel Dreyfus wrote:
> On Mon, Feb 06, 2012 at 05:43:10PM +0100, Manuel Bouyer wrote:
> > note that the ffsv2 extended attribute on-disk format uses an int as
> > namespaces (just like the API). Nothing unworkable here, but it may
> > be tricky if we want to be compatible with FreeBSD ...
> 
> We can just test the namespace in string and decide the int, just like
> perfused does: "system", "trusted" and "security" go SYSTEM, and 
> everything else goes USER

But if you want to have system.foo distinct from security.foo, you have
to duplicate the namespace in the name itself, right ?
that's not a big problem; just that we won't be able to read freebsd
extended attributes.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index