tech-kern archive

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

Re: extended attributes (need help)



On Tue, Jun 14, 2011 at 02:52:28AM +0200, Emmanuel Dreyfus wrote:
> Thor Lancelot Simon <tls%panix.com@localhost> wrote:
> 
> > If it's to find the extended-attribute database -- don't do that.
> > Use a reserved inode like LFS does for the ifile.
> 
> There is one file per attribute. That namei() call is there to prepare
> for a vn_open() with the CREATE flag, to create a new file.
> 
> The directory layout is as this:
> 
> /mount-point/.attribute/
> /mount-point/.attribute/user/
> /mount-point/.attribute/user/attribute1
> /mount-point/.attribute/user/attribute2
> /mount-point/.attribute/user/attribute3

What will happen if there is a .attribute file/symlink or directory in the
file system before this attributes will be introduced and then enabled?

Bernd



Home | Main Index | Thread Index | Old Index