<?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: encrypted network filesystems</title>
	<atom:link href="http://www.outflux.net/blog/archives/2006/07/29/encrypted-network-filesystems/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.outflux.net/blog/archives/2006/07/29/encrypted-network-filesystems/</link>
	<description>code is freedom -- patching my itch</description>
	<pubDate>Tue, 06 Jan 2009 20:36:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: kees</title>
		<link>http://www.outflux.net/blog/archives/2006/07/29/encrypted-network-filesystems/#comment-530</link>
		<dc:creator>kees</dc:creator>
		<pubDate>Mon, 25 Dec 2006 17:57:46 +0000</pubDate>
		<guid isPermaLink="false">http://outflux.net/blog/archives/2006/07/29/encrypted-network-filesystems/#comment-530</guid>
		<description>Note to self:

It's much faster (especially on a NAS) to allocate the loopback volume using "truncate" instead of a full "dd".  A sparse file can be created and the loop device will still do the right thing.  This command will make a 10G file named "volume":

  perl -e 'open(FILE,"&gt;$ARGV[0]"); seek(FILE,$ARGV[1],0); truncate(FILE,$ARGV[1]);' \
    volume $(( 10 * 1024 * 1024 * 1024 ))</description>
		<content:encoded><![CDATA[<p>Note to self:</p>
<p>It&#8217;s much faster (especially on a NAS) to allocate the loopback volume using &#8220;truncate&#8221; instead of a full &#8220;dd&#8221;.  A sparse file can be created and the loop device will still do the right thing.  This command will make a 10G file named &#8220;volume&#8221;:</p>
<p>  perl -e &#8216;open(FILE,&#8221;>$ARGV[0]&#8220;); seek(FILE,$ARGV[1],0); truncate(FILE,$ARGV[1]);&#8217; \<br />
    volume $(( 10 * 1024 * 1024 * 1024 ))</p>
]]></content:encoded>
	</item>
</channel>
</rss>
