On Tue, Jun 14, 2011 at 02:52:28AM +0200, Emmanuel Dreyfus wrote: > Thor Lancelot Simon <t...@panix.com> 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