--- On Mon, 20/8/12, Vyacheslav Dubeyko <slava@xxxxxxxxxxx> wrote: > Hi, > > This patch set adds real support of extended attributes on > HFS+ file system. Thanks for looking into this. I'll give it a try as soon as possible. > HFS+ keeps extended attributes as key-value pairs in special > metadata file - Attributes tree. Moreover, userInfo and > finderInfo fields in Catalog File and Catalog Folder records > are accessible to an user as com.apple.FinderInfo extended > attribute. > > For support of extended attributes on HFS+: > 1. It was added necessary on-disk layout declarations > related to Attributes tree into hfsplus_raw.h file. > 2. It was added attributes.c file with implementation of > functionality of manipulation by records in Attributes > tree. > 3. It was reworked hfsplus_listxattr, hfsplus_getxattr, > hfsplus_setxattr functions in ioctl.c. Moreover, it was > added hfsplus_removexattr method. > > With the best regards, > Vyacheslav Dubeyko. > --- > fs/hfsplus/hfsplus_raw.h | 72 > ++++++++++++++++++++++++++++++++++++++++++--- > > > > > > > 1 files changed, 67 insertions(+), 5 deletions(-) > > --- > fs/hfsplus/Makefile | > 3 +- > > > > > > > > > fs/hfsplus/attributes.c | 388 > +++++++++++++++++++++++++++++++++++++++++++++++ > > > > > > > 2 files changed, 390 insertions(+), 1 deletions(-) > > > > > > > > > create mode 100644 fs/hfsplus/attributes.c > > --- > fs/hfsplus/ioctl.c | 541 > +++++++++++++++++++++++++++++++++++++++++++++------- > > > > > > > 1 files changed, 471 insertions(+), 70 deletions(-) > > --- > fs/hfsplus/bfind.c > | 79 > +++++++++++++++++++++++++++++++++++++++------- > fs/hfsplus/bnode.c | 6 > ++- > fs/hfsplus/brec.c > | 23 ++++++++----- > fs/hfsplus/btree.c | 8 > +++++ > fs/hfsplus/catalog.c | 36 > +++++++++++++-------- > fs/hfsplus/dir.c > | 24 ++++++++------ > fs/hfsplus/extents.c | 4 +- > fs/hfsplus/hfsplus_fs.h | 41 > ++++++++++++++++++++++-- > fs/hfsplus/inode.c > | 13 ++++++++ > fs/hfsplus/super.c > | 36 ++++++++++++++++++++- > fs/hfsplus/unicode.c | 7 ++-- > 11 files changed, 219 insertions(+), 58 deletions(-) > -- > > -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html