<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ALeX Kazik &#187; dd</title>
	<atom:link href="https://alex.kazik.de/tag/dd/feed/" rel="self" type="application/rss+xml" />
	<link>https://alex.kazik.de</link>
	<description>A blog about Retrocomputing‎ and more</description>
	<lastBuildDate>Wed, 30 Mar 2022 09:54:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>Copy sparsebundle to disk on Linux</title>
		<link>https://alex.kazik.de/346/write-sparsebundle/</link>
		<comments>https://alex.kazik.de/346/write-sparsebundle/#comments</comments>
		<pubDate>Fri, 27 Mar 2015 09:00:45 +0000</pubDate>
		<dc:creator><![CDATA[alx]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[sparsebundle]]></category>

		<guid isPermaLink="false">https://alex.kazik.de/?p=346</guid>
		<description><![CDATA[I&#8217;ve figured out an pretty easy way to copy the contents of a OS X sparsebundle onto a whole disk on linux. First go into the Image.sparsebundle directory and have a look at the Info.plist. You need the values for size and band-size. Now in a shell enter: for i in $(seq 0 $(({size}/{band-size}-1))) ; [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve figured out an pretty easy way to copy the contents of a OS X sparsebundle onto a whole disk on linux.<br />
First go into the Image.sparsebundle directory and have a look at the Info.plist. You need the values for size and band-size.<br />
Now in a shell enter:<br />
<code>for i in $(seq 0 $(({size}/{band-size}-1))) ; dd if=`printf "%x" $i` of={/dev/sdx} bs={band-size}c seek=$i ; done</code><br />
All in one line and replace everything in curly braces with the desired value, e.g. &#8220;{band-size}&#8221; => &#8220;8388608&#8221;.</p>]]></content:encoded>
			<wfw:commentRss>https://alex.kazik.de/346/write-sparsebundle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
