<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: xar rox</title>
	<atom:link href="http://www.n8gray.org/blog/2007/05/07/xar-rox/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.n8gray.org/blog/2007/05/07/xar-rox/</link>
	<description>distraction in action</description>
	<pubDate>Thu, 21 Aug 2008 18:28:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: n8</title>
		<link>http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-8658</link>
		<dc:creator>n8</dc:creator>
		<pubDate>Mon, 06 Aug 2007 20:37:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-8658</guid>
		<description>@Paul:  Yeah, don't read too much into the alias test at the moment.  It's not clear what the correct behavior is for aliases, or even if there *is* a correct behavior.  I know how I would want them handled: if an alias is pointing to a backed-up file then it should point to the corresponding restored file, even if it's at a different path.  However, I can see somebody wanting different behavior.  My lab-mate thought that retaining the original target was the right thing to do.  (BTW, the exact same debate applies to absolute symlinks, which I don't have a test for in the symlink tests.)

I should probably introduce a type of test that's not pass-fail for cases like this where you want to understand how the tool behaves but there's not a clear right or wrong behavior.</description>
		<content:encoded><![CDATA[<p>@Paul:  Yeah, don&#8217;t read too much into the alias test at the moment.  It&#8217;s not clear what the correct behavior is for aliases, or even if there *is* a correct behavior.  I know how I would want them handled: if an alias is pointing to a backed-up file then it should point to the corresponding restored file, even if it&#8217;s at a different path.  However, I can see somebody wanting different behavior.  My lab-mate thought that retaining the original target was the right thing to do.  (BTW, the exact same debate applies to absolute symlinks, which I don&#8217;t have a test for in the symlink tests.)</p>
<p>I should probably introduce a type of test that&#8217;s not pass-fail for cases like this where you want to understand how the tool behaves but there&#8217;s not a clear right or wrong behavior.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-8656</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Mon, 06 Aug 2007 20:02:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-8656</guid>
		<description>@n8: Thanks, I'd dug around and found that out, but now you've added the aliases test, so xar no longer gets a clean sweep :-)

Reckon it probably does better than a lot of things out there though. The only problem is that it doesn't re-home the alias. Good enough for backups though where you expect to restore to the same location.

Great suite of tests btw. Really useful stuff on something really important.</description>
		<content:encoded><![CDATA[<p>@n8: Thanks, I&#8217;d dug around and found that out, but now you&#8217;ve added the aliases test, so xar no longer gets a clean sweep <img src='http://www.n8gray.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Reckon it probably does better than a lot of things out there though. The only problem is that it doesn&#8217;t re-home the alias. Good enough for backups though where you expect to restore to the same location.</p>
<p>Great suite of tests btw. Really useful stuff on something really important.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: n8</title>
		<link>http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-8653</link>
		<dc:creator>n8</dc:creator>
		<pubDate>Mon, 06 Aug 2007 19:02:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-8653</guid>
		<description>@Paul: It looks like I had forgotten the -P flag to xar in the 0.1.1 release.  You can add it in copiers.d/70-xar.cp in the backup function.  It's fixed in svn, so I'll roll up a new release when I have a chance.</description>
		<content:encoded><![CDATA[<p>@Paul: It looks like I had forgotten the -P flag to xar in the 0.1.1 release.  You can add it in copiers.d/70-xar.cp in the backup function.  It&#8217;s fixed in svn, so I&#8217;ll roll up a new release when I have a chance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-8646</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Mon, 06 Aug 2007 16:50:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-8646</guid>
		<description>Hmmm, I'm not getting the same result, but then I'm also getting an error earlier on.

Am I doing something wrong? This is with current SVN head (2007-Aug-06) on Tiger, with the 0.1.1 scripts. xar 1.5.1 also seems to fail in the same way.

----------------------------------

# ./bbouncer create-vol Src; ./bbouncer create-vol Dst
# ./bbouncer create /Volumes/Src (All OK)
# ./bbouncer copy -c 70-xar -d /Volumes/Src /Volumes/Dst
src = /Volumes/Src
dst = /Volumes/Dst
Enabling owners on src/dst disks
Password:
/dev/disk5s2 on /Volumes/Src (local, journaled, mounted by pauls)
/dev/disk6s2 on /Volumes/Dst (local, journaled, mounted by pauls)
Cleaning.
Copying with:                  xar ... touch: /Volumes/Dst/70-xar/bbouncer-vol: Permission denied
ok

------------------ xar ------------------
Verifying:    basic-permissions ... FAIL
Verifying:           timestamps ... 
   Sub-test:    modification time ... ok
ok
Verifying:             symlinks ... ok
Verifying:    symlink-ownership ... FAIL
Verifying:            hardlinks ... ok
Verifying:       resource-forks ... ok
Verifying:         finder-flags ... ok
Verifying:         finder-locks ... ok
Verifying:        creation-date ... ok
Verifying:            bsd-flags ... ok
Verifying:       extended-attrs ... 
   Sub-test:             on files ... ok
   Sub-test:       on directories ... ok
   Sub-test:          on symlinks ... ok
ok
Verifying: access-control-lists ... 
   Sub-test:             on files ... ok
   Sub-test:              on dirs ... ok
ok
Verifying:                 fifo ... ok
Verifying:              devices ... ok
Verifying:          combo-tests ... 
   Sub-test:  xattrs + rsrc forks ... ok
   Sub-test:     lots of metadata ... FAIL
FAIL</description>
		<content:encoded><![CDATA[<p>Hmmm, I&#8217;m not getting the same result, but then I&#8217;m also getting an error earlier on.</p>
<p>Am I doing something wrong? This is with current SVN head (2007-Aug-06) on Tiger, with the 0.1.1 scripts. xar 1.5.1 also seems to fail in the same way.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p># ./bbouncer create-vol Src; ./bbouncer create-vol Dst<br />
# ./bbouncer create /Volumes/Src (All OK)<br />
# ./bbouncer copy -c 70-xar -d /Volumes/Src /Volumes/Dst<br />
src = /Volumes/Src<br />
dst = /Volumes/Dst<br />
Enabling owners on src/dst disks<br />
Password:<br />
/dev/disk5s2 on /Volumes/Src (local, journaled, mounted by pauls)<br />
/dev/disk6s2 on /Volumes/Dst (local, journaled, mounted by pauls)<br />
Cleaning.<br />
Copying with:                  xar &#8230; touch: /Volumes/Dst/70-xar/bbouncer-vol: Permission denied<br />
ok</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; xar &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Verifying:    basic-permissions &#8230; FAIL<br />
Verifying:           timestamps &#8230;<br />
   Sub-test:    modification time &#8230; ok<br />
ok<br />
Verifying:             symlinks &#8230; ok<br />
Verifying:    symlink-ownership &#8230; FAIL<br />
Verifying:            hardlinks &#8230; ok<br />
Verifying:       resource-forks &#8230; ok<br />
Verifying:         finder-flags &#8230; ok<br />
Verifying:         finder-locks &#8230; ok<br />
Verifying:        creation-date &#8230; ok<br />
Verifying:            bsd-flags &#8230; ok<br />
Verifying:       extended-attrs &#8230;<br />
   Sub-test:             on files &#8230; ok<br />
   Sub-test:       on directories &#8230; ok<br />
   Sub-test:          on symlinks &#8230; ok<br />
ok<br />
Verifying: access-control-lists &#8230;<br />
   Sub-test:             on files &#8230; ok<br />
   Sub-test:              on dirs &#8230; ok<br />
ok<br />
Verifying:                 fifo &#8230; ok<br />
Verifying:              devices &#8230; ok<br />
Verifying:          combo-tests &#8230;<br />
   Sub-test:  xattrs + rsrc forks &#8230; ok<br />
   Sub-test:     lots of metadata &#8230; FAIL<br />
FAIL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Becks</title>
		<link>http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-6050</link>
		<dc:creator>Becks</dc:creator>
		<pubDate>Sat, 26 May 2007 17:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-6050</guid>
		<description>Unless you specify verbose output, there's no indication of any progress, besides using "df".</description>
		<content:encoded><![CDATA[<p>Unless you specify verbose output, there&#8217;s no indication of any progress, besides using &#8220;df&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: n8</title>
		<link>http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-6008</link>
		<dc:creator>n8</dc:creator>
		<pubDate>Fri, 25 May 2007 19:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-6008</guid>
		<description>@ray:  Since xar isn't installed with OS X I just hardwired it for my own system.  I really despise the way macports and fink add random new branches to the filesystem root (though opt is not without precedent) when /usr/local is already a well-accepted place for this sort of thing.  Anyhow, I'll probably change it to use 'which', though that always makes me a bit nervous -- I often end up with different versions of things installed in different paths (thanks to having both macports and fink on my system).

@becks:  I can't say I've looked at this behavior.  Is this important to you?</description>
		<content:encoded><![CDATA[<p>@ray:  Since xar isn&#8217;t installed with OS X I just hardwired it for my own system.  I really despise the way macports and fink add random new branches to the filesystem root (though opt is not without precedent) when /usr/local is already a well-accepted place for this sort of thing.  Anyhow, I&#8217;ll probably change it to use &#8216;which&#8217;, though that always makes me a bit nervous &#8212; I often end up with different versions of things installed in different paths (thanks to having both macports and fink on my system).</p>
<p>@becks:  I can&#8217;t say I&#8217;ve looked at this behavior.  Is this important to you?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Becks</title>
		<link>http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-5999</link>
		<dc:creator>Becks</dc:creator>
		<pubDate>Fri, 25 May 2007 15:16:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-5999</guid>
		<description>I just tried xar from darwinports (1.5) and it seems to try to hide the data until the archive is all complete. Very strange. The only relevant file I could see using `lsof` was the archive file, but it was always 0 bytes until it was finished. I'm guessing it created a temp file and then used extended attributes to hide it.</description>
		<content:encoded><![CDATA[<p>I just tried xar from darwinports (1.5) and it seems to try to hide the data until the archive is all complete. Very strange. The only relevant file I could see using `lsof` was the archive file, but it was always 0 bytes until it was finished. I&#8217;m guessing it created a temp file and then used extended attributes to hide it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ray</title>
		<link>http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-5963</link>
		<dc:creator>ray</dc:creator>
		<pubDate>Thu, 24 May 2007 21:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2007/05/07/xar-rox/#comment-5963</guid>
		<description>in 70-xar.cp you have hardcoded the location of xar as /usr/local/dports/bin/xar. but the default location for darwinports is to put it at /opt/local/bin/xar. how about using `which xar`?</description>
		<content:encoded><![CDATA[<p>in 70-xar.cp you have hardcoded the location of xar as /usr/local/dports/bin/xar. but the default location for darwinports is to put it at /opt/local/bin/xar. how about using `which xar`?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
