<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Using A File As A Storage Device</title>
	<atom:link href="http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/feed/" rel="self" type="application/rss+xml" />
	<link>http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/</link>
	<description>A Blog dedicated to Gnu/Linux and Open Source Technologies</description>
	<lastBuildDate>Wed, 08 May 2013 08:47:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: prasadjadhav</title>
		<link>http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/#comment-3171</link>
		<dc:creator><![CDATA[prasadjadhav]]></dc:creator>
		<pubDate>Fri, 21 Sep 2012 07:18:20 +0000</pubDate>
		<guid isPermaLink="false">http://flossstuff.wordpress.com/?p=721#comment-3171</guid>
		<description><![CDATA[Reblogged this on &lt;a href=&quot;http://prasadlinuxblog.wordpress.com/2012/09/21/476/&quot; rel=&quot;nofollow&quot;&gt;Welcome To Prasad Linux Blog&lt;/a&gt;.]]></description>
		<content:encoded><![CDATA[<p>Reblogged this on <a href="http://prasadlinuxblog.wordpress.com/2012/09/21/476/" rel="nofollow">Welcome To Prasad Linux Blog</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: animaletdesequia</title>
		<link>http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/#comment-1282</link>
		<dc:creator><![CDATA[animaletdesequia]]></dc:creator>
		<pubDate>Wed, 31 Aug 2011 18:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://flossstuff.wordpress.com/?p=721#comment-1282</guid>
		<description><![CDATA[Thanks for your answer. I opened a question here:

http://askubuntu.com/questions/58935/how-do-i-create-an-encrypted-file-system-inside-a-file

There&#039;s an alternative method using cryptmount, and I manage to make it work, but anyway i&#039;ll try this one since if I&#039;m not wrong crypsetup is from the gnu project, I supose this metod is more like using build-in tools.

I&#039;ll check your article when you publish it :)]]></description>
		<content:encoded><![CDATA[<p>Thanks for your answer. I opened a question here:</p>
<p><a href="http://askubuntu.com/questions/58935/how-do-i-create-an-encrypted-file-system-inside-a-file" rel="nofollow">http://askubuntu.com/questions/58935/how-do-i-create-an-encrypted-file-system-inside-a-file</a></p>
<p>There&#8217;s an alternative method using cryptmount, and I manage to make it work, but anyway i&#8217;ll try this one since if I&#8217;m not wrong crypsetup is from the gnu project, I supose this metod is more like using build-in tools.</p>
<p>I&#8217;ll check your article when you publish it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flossstuff</title>
		<link>http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/#comment-1281</link>
		<dc:creator><![CDATA[flossstuff]]></dc:creator>
		<pubDate>Wed, 31 Aug 2011 18:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://flossstuff.wordpress.com/?p=721#comment-1281</guid>
		<description><![CDATA[&quot;I mean in what situation would warrent the use of a file as a storage device for daily use?
Does it reduce disk fragmentation? Does it make consolidation of files for backup simpler?
For testing, I assume it makes sense to create file and dump different file systems for experimentation.&quot;
As animaletdesequia pointed out in comment above, you can simply mount the encrypted file that is in the dropbox folder, as your home folder. So, that even on cloud your files are safe.
Also, Lets say you have four partitions, /dev/sda1, sda2, sda3, sda4. Now, sda1 is running out of space. But, sda4 has 10GB free space. So, since sda4 is at the end of the disk, and sda1 at the beginning, you will have to  resize all of them just to get some extra spade in sda1. Instead, you could just create a file on sda4 and mount it inside a sub-folder, where sda1 is mounted.
About  backup, yes it does make backup simpler, rather than having to archive, you can just copy one file. But there is also a disadvantage, if you create a 2GB file, and mount it. Only 1GB is used. But, while making backup you will have to copy the entire file. So, you will end up copying 1GB more. You could make a small file and extend it as you are using it. But, than can be a lot of work for some people. 
About fragmentation, I guess it could reduce disk fragmentation.]]></description>
		<content:encoded><![CDATA[<p>&#8220;I mean in what situation would warrent the use of a file as a storage device for daily use?<br />
Does it reduce disk fragmentation? Does it make consolidation of files for backup simpler?<br />
For testing, I assume it makes sense to create file and dump different file systems for experimentation.&#8221;<br />
As animaletdesequia pointed out in comment above, you can simply mount the encrypted file that is in the dropbox folder, as your home folder. So, that even on cloud your files are safe.<br />
Also, Lets say you have four partitions, /dev/sda1, sda2, sda3, sda4. Now, sda1 is running out of space. But, sda4 has 10GB free space. So, since sda4 is at the end of the disk, and sda1 at the beginning, you will have to  resize all of them just to get some extra spade in sda1. Instead, you could just create a file on sda4 and mount it inside a sub-folder, where sda1 is mounted.<br />
About  backup, yes it does make backup simpler, rather than having to archive, you can just copy one file. But there is also a disadvantage, if you create a 2GB file, and mount it. Only 1GB is used. But, while making backup you will have to copy the entire file. So, you will end up copying 1GB more. You could make a small file and extend it as you are using it. But, than can be a lot of work for some people.<br />
About fragmentation, I guess it could reduce disk fragmentation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flossstuff</title>
		<link>http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/#comment-1280</link>
		<dc:creator><![CDATA[flossstuff]]></dc:creator>
		<pubDate>Wed, 31 Aug 2011 18:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://flossstuff.wordpress.com/?p=721#comment-1280</guid>
		<description><![CDATA[Thank u for feedback animaletdesequia.
here is how to create an ext4 encrypted file
1. losetup  /dev/loop0   /newfile   where new file is the file we created earlier.
2. cryptsetup -c aes   create   newhome  /dev/loop0
 it will ask you for passphrase.
now create ext4 filesystem on the file
3. mkfs -t ext4 /dev/loop0
now you can mount it using
4. mount /dev/mapper/newhome  /home/username
or you could use
1. losetup -e aes  /dev/loop0   /newfile
2. mkfs -t ext4 /dev/loop0
3. mount   -o loop,encryption=aes  /newfile   /mount_point
You can simple copy the encrypted file into the dropbox folder and mount it from there.
I plan to write an article on encryption soon...:)]]></description>
		<content:encoded><![CDATA[<p>Thank u for feedback animaletdesequia.<br />
here is how to create an ext4 encrypted file<br />
1. losetup  /dev/loop0   /newfile   where new file is the file we created earlier.<br />
2. cryptsetup -c aes   create   newhome  /dev/loop0<br />
 it will ask you for passphrase.<br />
now create ext4 filesystem on the file<br />
3. mkfs -t ext4 /dev/loop0<br />
now you can mount it using<br />
4. mount /dev/mapper/newhome  /home/username<br />
or you could use<br />
1. losetup -e aes  /dev/loop0   /newfile<br />
2. mkfs -t ext4 /dev/loop0<br />
3. mount   -o loop,encryption=aes  /newfile   /mount_point<br />
You can simple copy the encrypted file into the dropbox folder and mount it from there.<br />
I plan to write an article on encryption soon&#8230;:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fatguppy</title>
		<link>http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/#comment-1275</link>
		<dc:creator><![CDATA[fatguppy]]></dc:creator>
		<pubDate>Mon, 29 Aug 2011 14:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://flossstuff.wordpress.com/?p=721#comment-1275</guid>
		<description><![CDATA[I mean in what situation would warrent the use of a file as a storage device for daily use?

Does it reduce disk fragmentation? Does it make consolidation of files for backup simpler?

For testing, I assume it makes sense to create file and dump different file systems for experimentation. :-)]]></description>
		<content:encoded><![CDATA[<p>I mean in what situation would warrent the use of a file as a storage device for daily use?</p>
<p>Does it reduce disk fragmentation? Does it make consolidation of files for backup simpler?</p>
<p>For testing, I assume it makes sense to create file and dump different file systems for experimentation. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: animaletdesequia</title>
		<link>http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/#comment-1268</link>
		<dc:creator><![CDATA[animaletdesequia]]></dc:creator>
		<pubDate>Sat, 27 Aug 2011 22:24:16 +0000</pubDate>
		<guid isPermaLink="false">http://flossstuff.wordpress.com/?p=721#comment-1268</guid>
		<description><![CDATA[Really interesting post, didn&#039;t even know this was possible. Using ubuntu for three years and it still  amazes me all you can learn.

I&#039;d like to know how would you modify these steps to create an ext4 with encription and password to decript it. When you install some distros you have the option to encrypt your home file system, so it should be posible to do the same with this kind of files, am I wrong?

My idea would be to put this file into dropbox, and mount it somewhere else (outside dropbox) so I can sync the content of that &quot;folder&quot; trough the cloud without worrying about privacy.

That will be the solution I&#039;ve been serching to create an encrypted folder inside my dropbox where to put sensitive stuff. Sorry if the explanation isn&#039;t really clear, my english is not very good.

Thanks in advance!]]></description>
		<content:encoded><![CDATA[<p>Really interesting post, didn&#8217;t even know this was possible. Using ubuntu for three years and it still  amazes me all you can learn.</p>
<p>I&#8217;d like to know how would you modify these steps to create an ext4 with encription and password to decript it. When you install some distros you have the option to encrypt your home file system, so it should be posible to do the same with this kind of files, am I wrong?</p>
<p>My idea would be to put this file into dropbox, and mount it somewhere else (outside dropbox) so I can sync the content of that &#8220;folder&#8221; trough the cloud without worrying about privacy.</p>
<p>That will be the solution I&#8217;ve been serching to create an encrypted folder inside my dropbox where to put sensitive stuff. Sorry if the explanation isn&#8217;t really clear, my english is not very good.</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flossstuff</title>
		<link>http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/#comment-1266</link>
		<dc:creator><![CDATA[flossstuff]]></dc:creator>
		<pubDate>Sat, 27 Aug 2011 14:48:03 +0000</pubDate>
		<guid isPermaLink="false">http://flossstuff.wordpress.com/?p=721#comment-1266</guid>
		<description><![CDATA[Hey
Unable to understand you?? Can you be more specific about it?? A brief will be good :)]]></description>
		<content:encoded><![CDATA[<p>Hey<br />
Unable to understand you?? Can you be more specific about it?? A brief will be good <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fatguppy</title>
		<link>http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/#comment-1265</link>
		<dc:creator><![CDATA[fatguppy]]></dc:creator>
		<pubDate>Sat, 27 Aug 2011 08:25:49 +0000</pubDate>
		<guid isPermaLink="false">http://flossstuff.wordpress.com/?p=721#comment-1265</guid>
		<description><![CDATA[What use case would be suitable for this method ? :-)

Normally I use TrueCrypt but the container is not expandable once created.]]></description>
		<content:encoded><![CDATA[<p>What use case would be suitable for this method ? <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Normally I use TrueCrypt but the container is not expandable once created.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flossstuff</title>
		<link>http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/#comment-1264</link>
		<dc:creator><![CDATA[flossstuff]]></dc:creator>
		<pubDate>Sat, 27 Aug 2011 05:27:16 +0000</pubDate>
		<guid isPermaLink="false">http://flossstuff.wordpress.com/?p=721#comment-1264</guid>
		<description><![CDATA[We have answered your query above as well as at http://flossstuff.wordpress.com/2011/08/27/how-to-extend-size-of-the-file/]]></description>
		<content:encoded><![CDATA[<p>We have answered your query above as well as at <a href="http://flossstuff.wordpress.com/2011/08/27/how-to-extend-size-of-the-file/" rel="nofollow">http://flossstuff.wordpress.com/2011/08/27/how-to-extend-size-of-the-file/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adrian</title>
		<link>http://flossstuff.wordpress.com/2011/08/07/using-a-file-as-a-storage-device/#comment-1061</link>
		<dc:creator><![CDATA[adrian]]></dc:creator>
		<pubDate>Wed, 10 Aug 2011 12:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://flossstuff.wordpress.com/?p=721#comment-1061</guid>
		<description><![CDATA[is possible to extend the size on the &#039;filename&#039; file? :) 

thanks]]></description>
		<content:encoded><![CDATA[<p>is possible to extend the size on the &#8216;filename&#8217; file? <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
