Re: [PATCH 4/4] hfsplus: add support of manipulation by attributes file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- On Sat, 15/9/12, Vyacheslav Dubeyko <slava@xxxxxxxxxxx> wrote:

> Hi Hin-Tak,
> 
> On Sep 15, 2012, at 4:11 AM, Hin-Tak Leung wrote:
> 
> > Vyacheslav Dubeyko wrote:
> >> Hi,
> >> 
> >> This patch adds support of manipulation by
> attributes file.
> >> 
> >> With the best regards,
> >> Vyacheslav Dubeyko.
> >> --
> >> From: Vyacheslav Dubeyko <slava@xxxxxxxxxxx>
> >> Subject: [PATCH 4/4] hfsplus: add support of
> manipulation by attributes file
> >> 
> >> This patch adds support of manipulation by
> attributes file.
> >> 
> >> Reported-by: Hin-Tak Leung <htl10@xxxxxxxxxxxxxxxxxxxxx>
> >> Signed-off-by: Vyacheslav Dubeyko <slava@xxxxxxxxxxx>
> > 
> > NACK. It does not work (i.e. cannot read attributes of
> files which have them), and also generates a lot of
> warnings, "hfs: xattr searching failed".
> > 
> > The files I looked at are the font suitecase files in
> the /System/Library/Fonts directory.
> > 
> 
> By the way, do you really confident that any file in your
> /System/Library/Fonts folder have any extended attribute?
> 
> On my Mac none file in /System/Library/Fonts folder has any
> extended attribute. Could you check presence on extended
> attributes under Mac OS X by means of `xattr -l` command?
> 
> With the best regards,
> Vyacheslav Dubeyko.

Sorry, that was a bit brief - I just have access to a Mac OS X 10.7 box from time to time.

- There are 4 font suitecase files, which shows up to have file size zero under linux, but not on Mac OS X. I formatted the thumb drive under Mac Os X and copied with Finder, but of course it might be something I don't understand in the process.

- get a lot of "hfs: xattr searching failed" (about 20-ish per command) when I run getfattr on linux.

- It is a bit confusing apple talking about resource forks and extended attributes as if they are they same thing.

As an aside, one of the older experients, shows it to a few files with  extended attributes "com.apple.decmpfs". I looked it up, apple use this atttribute to implement per-file compression - hiding the file content compressed in the attribute while having the data fork zero. (different and unrelated to the font issue). This happens on mac os X 10.6 onwards.

--- On Sat, 15/9/12, Vyacheslav Dubeyko <slava@xxxxxxxxxxx> wrote:

> Hi,
> 
> On Sep 15, 2012, at 4:11 AM, Hin-Tak Leung wrote:
> 
> > Vyacheslav Dubeyko wrote:
> >> Hi,
> >> 
> >> This patch adds support of manipulation by
> attributes file.
> >> 
> >> With the best regards,
> >> Vyacheslav Dubeyko.
> >> --
> >> From: Vyacheslav Dubeyko <slava@xxxxxxxxxxx>
> >> Subject: [PATCH 4/4] hfsplus: add support of
> manipulation by attributes file
> >> 
> >> This patch adds support of manipulation by
> attributes file.
> >> 
> >> Reported-by: Hin-Tak Leung <htl10@xxxxxxxxxxxxxxxxxxxxx>
> >> Signed-off-by: Vyacheslav Dubeyko <slava@xxxxxxxxxxx>
> > 
> > NACK. It does not work (i.e. cannot read attributes of
> files which have them), and also generates a lot of
> warnings, "hfs: xattr searching failed".
> > 
> > The files I looked at are the font suitecase files in
> the /System/Library/Fonts directory.
> 
> 
> Could you share kernel version that you are using?
> 
> What utility do you use for getting of extended attributes
> list? I need more details for issue reproduction.
> 
> Could you share some more detailed output of system log
> related to the issue?

I patched over 3.5.3 with just the 4 patches.

I also have some messy scripts based on work from the iphone hackery people to look at details at the low-level.
--
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


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux