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
...
/mount-point/.attribute/system/
/mount-point/.attribute/system/attribute1
/mount-point/.attribute/system/attribute2
...

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
m...@netbsd.org

Reply via email to