From: Austin S Hemmelgarn <ahferroin7@gmail.com>
To: Chris Murphy <lists@colorremedies.com>
Cc: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: Can BTRFS handle XATTRs larger than 4K?
Date: Mon, 22 Dec 2014 14:56:47 -0500 [thread overview]
Message-ID: <5498777F.8070808@gmail.com> (raw)
In-Reply-To: <CAJCQCtRyiGU65cGWW=QCoGeqmUFi=GY5YraqadLaOpjHUGSh8g@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2740 bytes --]
On 2014-12-22 13:43, Chris Murphy wrote:
> On Mon, Dec 22, 2014 at 11:09 AM, Austin S Hemmelgarn
> <ahferroin7@gmail.com> wrote:
>
>> Personally, I'd love to see unlimited length xattr's like NTFS and HFS+ do,
>> as that would greatly improve interoperability (both Windows and OS X use
>> xattrs, although they call them 'alternative data streams' and 'forks'
>> respectively), and provide a higher likelihood that xattrs would start
>> getting used more.
>
> This is two years old, but it looks like NFS will not support xattr.
> http://comments.gmane.org/gmane.linux.nfs/53259
>
> It looks like SMB does support xattr (and sometimes requires it) but I
> have no idea to what degree, including the host/client preservation on
> different filesystems. [1] It would still be helpful for cp and rsync
> to be able to preserve xattr, however Apple has moved to a new on-disk
> format that makes the future of reading OS X volumes on Linux an open
> question. [2]
>
>
>
>
> [1]e.g. Btrfs > Samba- server > SMB over TCP > "Apple SMB2" > HFS+.
> And then the OS X client pushing a file to the server is a separate
> test. Next test would be OS X as server and Linux as client to do HFS+
>> "Apple SMB2" > SMB over TCP > Samba-client > Btrfs, and then Linux
> client pushing a file to OS X is a separate test. So it's four tests
> for any combination of filesystems.
>
> [2] Apple has a logical volume manager called CoreStorage. Until
> recently it's mainly used to implement full disk (volume) encryption,
> but encryption is actually optional. It's also used to combine SSD+HDD
> partitions into a single logical volume using the SSD as a cache.
> Starting with 10.10 "Yosemite" it's used by default for the main
> HFSJ/X volume for system/apps/user data, and even legacy OS X only
> installations are converted to a CoreStorage logical volume upon
> upgrading. There's no pre-baked support on linux for this right now,
> and I'm not really sure if/when we'd ever see this in a distribution
> by default.
> http://www.cl.cam.ac.uk/~osc22/docs/cl_fv2_presentation_2012.pdf
> https://github.com/libyal/libfvde/
>
>
I'm more thinking along the lines of not having to jump through hoops to
get _ALL_ the data in a tar file from OS X to extract on a Linux box.
Also, Windows has been using it's 'alternative data streams'
functionality from NTFS more in recent years (the new 'file history'
functionality in Win8/8.1 uses ADS for storing old copies of files), and
these are essentially just forks with a extra compatibility interface.
There are other potentially interesting uses though, for example,
storing multiple localized versions of a text file as a single
user-visible 'file'.
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 2455 bytes --]
next prev parent reply other threads:[~2014-12-22 19:56 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-20 2:07 Can BTRFS handle XATTRs larger than 4K? Richard Sharpe
2014-12-20 8:38 ` Chris Murphy
2014-12-22 11:38 ` Chris Samuel
2014-12-22 11:41 ` Chris Samuel
2014-12-22 14:28 ` Austin S Hemmelgarn
2014-12-22 17:27 ` Richard Sharpe
2014-12-22 18:09 ` Austin S Hemmelgarn
2014-12-22 18:43 ` Chris Murphy
2014-12-22 19:56 ` Austin S Hemmelgarn [this message]
2014-12-22 20:06 ` Richard Sharpe
2014-12-22 20:44 ` Austin S Hemmelgarn
2014-12-22 20:50 ` Richard Sharpe
2014-12-22 22:52 ` Robert White
2014-12-22 22:55 ` Richard Sharpe
2014-12-23 0:08 ` Robert White
2014-12-23 1:16 ` Richard Sharpe
2014-12-23 12:37 ` Austin S Hemmelgarn
2014-12-22 23:15 ` ronnie sahlberg
2014-12-22 23:55 ` Robert White
2014-12-22 23:58 ` Richard Sharpe
2014-12-23 0:11 ` Robert White
2014-12-22 20:04 ` Richard Sharpe
2014-12-22 20:33 ` Austin S Hemmelgarn
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=5498777F.8070808@gmail.com \
--to=ahferroin7@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=lists@colorremedies.com \
/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).