Thread (2 messages) 2 messages, 2 authors, 2012-08-21

Re: [PATCH 0/4] hfsplus: reworked support of extended attributes

From: Hin-Tak Leung <hidden>
Date: 2012-08-21 21:55:47

--- On Mon, 20/8/12, Vyacheslav Dubeyko <slava@dubeyko.com> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help