tech-kern archive

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

Re: extended attributes (need help)



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

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


Home | Main Index | Thread Index | Old Index