From: Vyacheslav Dubeyko <slava@dubeyko.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: linux-fsdevel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Al Viro <viro@zeniv.linux.org.uk>,
Hin-Tak Leung <htl10@users.sourceforge.net>
Subject: Re: [PATCH v2 3/4] hfsplus: rework functionality of getting, setting and deleting of extended attributes
Date: Tue, 25 Sep 2012 14:57:04 +0400 [thread overview]
Message-ID: <1348570624.2033.59.camel@slavad-ubuntu-11> (raw)
In-Reply-To: <20120925094508.GB22110@infradead.org>
Hi,
On Tue, 2012-09-25 at 05:45 -0400, Christoph Hellwig wrote:
> On Sun, Sep 23, 2012 at 06:49:37PM +0400, Vyacheslav Dubeyko wrote:
> > Hi,
> >
> > This patch reworks functionality of getting, setting and deleting of extended attributes.
>
> All new or modified xattr implementations should use the generic
> dispatching code and just set sb->s_xattr.
>
As I can understand, you are talking about using xattr_handler's for
dispatching of processing of extended attributes with such complex names
as "system.posix_acl_access" and so on. Am I correct?
The HFS+ has such peculiarities that you can name extended attribute as
you want. And name of extended attribute can keep in Attributes Tree
without any prefixes (for example, as "test"). Moreover, it is not used
such prefixes as "user." or "system." under Mac OS X.
However, it exists under Mac OS X special prefix "com.apple." (for
example, "com.apple.FinderInfo"). So, you suggest to add definition of
additional prefixes "com." and "apple." in include/linux/xattr.h and to
add xattr_handler's for these two prefixes. Am I correct?
Of course, it has to implement xattr_handlers for
"system.posix_acl_access" and "system.posix_acl_default" in the case of
ACLs support implementation. But this patch set doesn't implement ACLs
support for HFS+.
With the best regards,
Vyacheslav Dubeyko.
next prev parent reply other threads:[~2012-09-25 10:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-23 14:49 [PATCH v2 3/4] hfsplus: rework functionality of getting, setting and deleting of extended attributes Vyacheslav Dubeyko
2012-09-25 9:45 ` Christoph Hellwig
2012-09-25 10:57 ` Vyacheslav Dubeyko [this message]
2012-09-26 12:13 ` Christoph Hellwig
2012-09-26 14:20 ` Vyacheslav Dubeyko
2012-09-26 23:00 ` Hin-Tak Leung
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1348570624.2033.59.camel@slavad-ubuntu-11 \
--to=slava@dubeyko.com \
--cc=akpm@linux-foundation.org \
--cc=hch@infradead.org \
--cc=htl10@users.sourceforge.net \
--cc=linux-fsdevel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).