<div class="gmail_quote">On Thu, Jan 19, 2012 at 12:01 PM, D. Hugh Redelmeier <span dir="ltr"><<a href="mailto:hugh-pmF8o41NoarQT0dZR+AlfA@public.gmane.org">hugh@mimosa.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>What were they actually used for?<br>
<br>
As far as I know, there is no strong culture / convention for using<br>
this capability in Linux.  As far as I'm concerned, all it<br>
accomplishes is to break the "a file is a bucket of bytes" model of<br>
UNIX files.  So tar won't work as a backup, cp won't work to copy a<br>
file, etc -- many utilities are broken or need(ed) revision.<br>
<br>
Extended attributes surely don't matter in Linux since I've been able<br>
to ignore them up to now.<br>
<br>
The beauty of UNIX compared with its precursors was simplicity.  I<br>
moved to UNIX from IBM OS/360.  Files there had all kinds of<br>
attributes that optimized how I/O was performed but actually just made<br>
file I/O complicated.  Files had "record formats" (how file blocks<br>
were to be broken into records), block sizes, record sizes, printer<br>
control types, indices, and more.  UNIX had "just a bucket of bytes"<br>
(plus, I admit, modest, fixed, simple metadata).<br>
<br>
In MacOS (pre-OSX) the "resource fork" of each file was important and<br>
there were strong conventions on how it was used.  So much so that Resedit<br>
(the resource fork editor) was a very powerful tool for customization<br>
without needing access to source code or being a programmer.<br>
<br>
I don't know how OSX resolved its twin heritages.<br></blockquote></div><br>OSX makes heavy use of extended attributes. See <a href="http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars/3">http://arstechnica.com/apple/reviews/2009/08/mac-os-x-10-6.ars/3</a> (the "Installation footprint" section) for some details. And resource forks have been re-purposed, per that same article.<br>
<br>The same author has written quite a few similarly exhaustive reviews of various versions of OSX over the years which make for interesting reading for the casual observer/non-OSX user.<br>