sudarshan sridhar
2007-Dec-17 13:16 UTC
[zfs-discuss] Query related to ZFS Extended Attributes
I would like to know the method of getting/setting Extended Attributes (EAs) for files and directoreis. Also I would like to know is there any difference in getting/setting EAs from UFS filesystem ?. I mean can we use same system calls, open, openat etc... to extract EA information? If there arey new APIs related in extrcting EAs of ZFS file system please share. Also any header files or libraries needs to be included to the program that get/set EAs for ZFS. thanks & regards, sridhar. --------------------------------- Never miss a thing. Make Yahoo your homepage. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20071217/417bbbe5/attachment.html>
Darren J Moffat
2007-Dec-17 13:28 UTC
[zfs-discuss] Query related to ZFS Extended Attributes
sudarshan sridhar wrote:> I would like to know the method of getting/setting Extended Attributes > (EAs) for files and directoreis.From an application layer openat(2).> Also I would like to know is there any difference in getting/setting EAs > from UFS filesystem ?. I mean can we use same system calls, open, openat > etc... to extract EA information?Correct same system calls.> If there arey new APIs related in extrcting EAs of ZFS file system > please share.Not that I am aware of.> Also any header files or libraries needs to be included to the program > that get/set EAs for ZFS.Only those indicated on the openat(2) man page. -- Darren J Moffat