Skip to contentSkip to conversation

hfsplus: introduce functionality of attributes file creation

PATCH Superseded Vyacheslav Dubeyko 1 participant 1 message Sep 20, 2013 VFS

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover hfsplus: introduce functionality of attributes file creation

Hi,

There are situation when HFS+ volume had been created without AttributesFile. Such situation can take place because of using old mkfs.hfs utility or creation HFS+ volume without taking in mind necessity to use xattrs. For example, Mac OS X 10.4 (Tiger) doesn't create AttributesFile during mkfs phase. Also it is a very frequent situation for the case of users that created HFS+ volumes under Linux. As a result, xattrs and POSIX ACLs on HFS+ volume are unavailable for such users.

This patch set implements functionality of AttributesFile creation on HFS+ volume in the case of this metadata file absence during operation of xattr creation.

With the best regards,
Vyacheslav Dubeyko.
---
Vyacheslav Dubeyko (1):
hfsplus: introduce functionality of attributes file creation

 fs/hfsplus/btree.c       |  112 +++++++++++++++++++++++++++
 fs/hfsplus/hfsplus_fs.h  |   10 +++
 fs/hfsplus/hfsplus_raw.h |    3 +
 fs/hfsplus/super.c       |    2 +
 fs/hfsplus/xattr.c       |  191 +++++++++++++++++++++++++++++++++++++++++++++-
 5 files changed, 316 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.9.5