tech-kern archive

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

Re: extattr namespaces



hi,

> The question is: do we strip/add the string namespace when
> storing/reading the values in the filesystem.
> 
> For native use, I think we do not want to strip, as it is simplier. The

i agree.

> problem arise when mounting a disk from FreeBSD. Here when we ask to
> store "user.foo", we mean USER "foo" and not USER "user.foo".
> 
> I think we just need a mount option: -o -stripxattr
> It would do this mapping:
>         "system.foo" <-> SYSTEM "foo"
>         "trusted.foo" <-> SYSTEM "trusted.foo"
>         "security.foo" <-> SYSTEM "security.foo"
>                  "user.foo" <-> USER "foo"
>                  "anything.foo" <-> USER "anything.foo"

i wonder if our ufs is still compatible enough with freebsd for the option
to be useful.  especially when we use a different API from theirs.
but having the option would not hurt much either, given that it would be
ufs-internal.

YAMAMOTO Takashi

> 
> 
> -- 
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index