<?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/"
		>
<channel>
	<title>Comments on: SquashFS: Not Just for Embedded Systems</title>
	<atom:link href="http://www.linux-mag.com/id/7357/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linux-mag.com/id/7357/</link>
	<description>Open Source, Open Standards</description>
	<lastBuildDate>Sat, 05 Oct 2013 13:48:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Liam</title>
		<link>http://www.linux-mag.com/id/7357/#comment-944883</link>
		<dc:creator>Liam</dc:creator>
		<pubDate>Thu, 16 May 2013 15:16:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7357/#comment-944883</guid>
		<description>Tiny Core Linux uses a combination of symlinks and mountable sqashfs images in its package management system to provide fast booting and an installation that is always clean.</description>
		<content:encoded><![CDATA[<p>Tiny Core Linux uses a combination of symlinks and mountable sqashfs images in its package management system to provide fast booting and an installation that is always clean.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: x95tobos</title>
		<link>http://www.linux-mag.com/id/7357/#comment-6522</link>
		<dc:creator>x95tobos</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7357/#comment-6522</guid>
		<description>Nice article, I enjoyed it. As a former Computer Engineering major (in a galaxy far far away, ahemm, Kalamazoo MI, many  many years ago..) with no clue about SquashFS, my guess is it is necessary/useful only when the actual &quot;overhead&quot; of the FS structures is significant- you have a lot of small files with really long path names: mp3 players anyone?&lt;br /&gt;
&lt;br /&gt;
Otherwise why not just use tar gzip or bzip? Lately file managers are really good at using these just as regular directory files- you can browse web pages, play movies/songs, etc. And I am saying this, because why in the world would you want to do compression on sensitive data such as inodes and such, if you do not absolutely have to? In this light, examples 1 and 2 are a bit contrived: you always can mount a partition read-only in the Unix world ! And if the user insists on online data access, the problem is completely different, rather a moral debate: if he is willing to pay for that, he should have that and he should have it with no &quot;strings attached&quot;. There is always a tradeoff between redundancy and space, sometimes you want one, sometimes the other.</description>
		<content:encoded><![CDATA[<p>Nice article, I enjoyed it. As a former Computer Engineering major (in a galaxy far far away, ahemm, Kalamazoo MI, many  many years ago..) with no clue about SquashFS, my guess is it is necessary/useful only when the actual &#8220;overhead&#8221; of the FS structures is significant- you have a lot of small files with really long path names: mp3 players anyone?</p>
<p>Otherwise why not just use tar gzip or bzip? Lately file managers are really good at using these just as regular directory files- you can browse web pages, play movies/songs, etc. And I am saying this, because why in the world would you want to do compression on sensitive data such as inodes and such, if you do not absolutely have to? In this light, examples 1 and 2 are a bit contrived: you always can mount a partition read-only in the Unix world ! And if the user insists on online data access, the problem is completely different, rather a moral debate: if he is willing to pay for that, he should have that and he should have it with no &#8220;strings attached&#8221;. There is always a tradeoff between redundancy and space, sometimes you want one, sometimes the other.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sysadmn</title>
		<link>http://www.linux-mag.com/id/7357/#comment-6523</link>
		<dc:creator>sysadmn</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7357/#comment-6523</guid>
		<description>One advantage a compressing fs has over .tgz or .bz2 is memory footprint.  It&#039;s probably more of a factor in embeded systems.  Letting the fs driver manage the data means that all consumers (file managers, mp3 clients, etc) share the cached, uncompressed data and metadata.</description>
		<content:encoded><![CDATA[<p>One advantage a compressing fs has over .tgz or .bz2 is memory footprint.  It&#8217;s probably more of a factor in embeded systems.  Letting the fs driver manage the data means that all consumers (file managers, mp3 clients, etc) share the cached, uncompressed data and metadata.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: m0n0</title>
		<link>http://www.linux-mag.com/id/7357/#comment-6524</link>
		<dc:creator>m0n0</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7357/#comment-6524</guid>
		<description>hmm.. its mistake at write about of:&lt;br /&gt;
&lt;br /&gt;
SquashFS 2.0 	448.58 GB&lt;br /&gt;
SquahsFS 2.1 	448.58 MB&lt;br /&gt;
&lt;br /&gt;
It&#039;s really 448.58 Â¿GB?, must be MB also.</description>
		<content:encoded><![CDATA[<p>hmm.. its mistake at write about of:</p>
<p>SquashFS 2.0 	448.58 GB<br />
SquahsFS 2.1 	448.58 MB</p>
<p>It&#8217;s really 448.58 Â¿GB?, must be MB also.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: leepatrick</title>
		<link>http://www.linux-mag.com/id/7357/#comment-6525</link>
		<dc:creator>leepatrick</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7357/#comment-6525</guid>
		<description>It&#039;s also a good FS for SSD since it can save space for relatively small size SSD and it&#039;s readonly. For the writing, create the unionfs in ramdisk and write the update back to SSD periodically to reduce write cycles.</description>
		<content:encoded><![CDATA[<p>It&#8217;s also a good FS for SSD since it can save space for relatively small size SSD and it&#8217;s readonly. For the writing, create the unionfs in ramdisk and write the update back to SSD periodically to reduce write cycles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dwolsten</title>
		<link>http://www.linux-mag.com/id/7357/#comment-6526</link>
		<dc:creator>dwolsten</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7357/#comment-6526</guid>
		<description>It&#039;s a good thing they released SquashFS v2.1, as 2.0 obviously had very poor performance, turning 1.3GB of uncompressed data into a whopping 448GB!  Luckily, v2.1 achieves a 1000-fold improvement over this figure.</description>
		<content:encoded><![CDATA[<p>It&#8217;s a good thing they released SquashFS v2.1, as 2.0 obviously had very poor performance, turning 1.3GB of uncompressed data into a whopping 448GB!  Luckily, v2.1 achieves a 1000-fold improvement over this figure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vonchilliman</title>
		<link>http://www.linux-mag.com/id/7357/#comment-6527</link>
		<dc:creator>vonchilliman</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7357/#comment-6527</guid>
		<description>Puppy Linux use SquashFS and UnionFS to incredibly good effect.</description>
		<content:encoded><![CDATA[<p>Puppy Linux use SquashFS and UnionFS to incredibly good effect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rexterd</title>
		<link>http://www.linux-mag.com/id/7357/#comment-6528</link>
		<dc:creator>rexterd</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7357/#comment-6528</guid>
		<description>SquashFS is in most of every distro ubuntu,slax,puppylinux,slitaz etc. Puppylinux and slax uses the layered filesystem unionfs or aufs. Layered filesystems + squashfs combined with lzma compression will make system secured because of a read only squashfs, a layered system where we can easily add and delete branches and compression that will save as memory/storage space.</description>
		<content:encoded><![CDATA[<p>SquashFS is in most of every distro ubuntu,slax,puppylinux,slitaz etc. Puppylinux and slax uses the layered filesystem unionfs or aufs. Layered filesystems + squashfs combined with lzma compression will make system secured because of a read only squashfs, a layered system where we can easily add and delete branches and compression that will save as memory/storage space.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laytonjb</title>
		<link>http://www.linux-mag.com/id/7357/#comment-6529</link>
		<dc:creator>laytonjb</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7357/#comment-6529</guid>
		<description>Well the first two examples are contrived but the point is that I can mount any combination of directories or files read-only without having to mount the entire partition as read-only. There are some advantages in this. The one I think is interesting is to run a cron job periodically that scans a user&#039;s directory for files that have not been accessed on months. Then you move them to an &quot;ARCHIVE&quot; subdirectory in their account leaving symlinks behind so the user retains the directory structure. Then you use SquashFS on the ARCHIVE directory and remount it for the user. With the symlinks the user finds the files where they expect but you also save some space.&lt;br /&gt;
&lt;br /&gt;
You have a couple of choices on mounting the SquashFS image as well. You can mount it read-only so that if the user wants to actually edit the data, they   will have to copy the data to a new directory to work on it. While this uses more space, it also keeps a copy of the data (which hasn&#039;t been used in a while) in case the user screws something up (I&#039;m quite good at that).&lt;br /&gt;
&lt;br /&gt;
The other option is to use a union mount with the SquashFS image so the user can &quot;change&quot; the data. But the changes are written to the r/w part of the union so you still retain a copy of the data :)&lt;br /&gt;
&lt;br /&gt;
The second option is the most transparent from a user perspective, but I kind of like the first approach (partly because it&#039;s a little bit easier :) ).&lt;br /&gt;
&lt;br /&gt;
Kind of cool isn&#039;t it? I really like this idea and I&#039;m getting ready to hack up some scripts to do this (both options). Just need to get the editor off my back for a week or so :)&lt;br /&gt;
&lt;br /&gt;
BTW - thanks for the comments and compliments. Glad it helped.&lt;br /&gt;
&lt;br /&gt;
Jeff</description>
		<content:encoded><![CDATA[<p>Well the first two examples are contrived but the point is that I can mount any combination of directories or files read-only without having to mount the entire partition as read-only. There are some advantages in this. The one I think is interesting is to run a cron job periodically that scans a user&#8217;s directory for files that have not been accessed on months. Then you move them to an &#8220;ARCHIVE&#8221; subdirectory in their account leaving symlinks behind so the user retains the directory structure. Then you use SquashFS on the ARCHIVE directory and remount it for the user. With the symlinks the user finds the files where they expect but you also save some space.</p>
<p>You have a couple of choices on mounting the SquashFS image as well. You can mount it read-only so that if the user wants to actually edit the data, they   will have to copy the data to a new directory to work on it. While this uses more space, it also keeps a copy of the data (which hasn&#8217;t been used in a while) in case the user screws something up (I&#8217;m quite good at that).</p>
<p>The other option is to use a union mount with the SquashFS image so the user can &#8220;change&#8221; the data. But the changes are written to the r/w part of the union so you still retain a copy of the data :)</p>
<p>The second option is the most transparent from a user perspective, but I kind of like the first approach (partly because it&#8217;s a little bit easier :) ).</p>
<p>Kind of cool isn&#8217;t it? I really like this idea and I&#8217;m getting ready to hack up some scripts to do this (both options). Just need to get the editor off my back for a week or so :)</p>
<p>BTW &#8211; thanks for the comments and compliments. Glad it helped.</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laytonjb</title>
		<link>http://www.linux-mag.com/id/7357/#comment-6530</link>
		<dc:creator>laytonjb</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7357/#comment-6530</guid>
		<description>LOL!!! I&#039;m sorry I missed that. But you are correct - it&#039;s MB instead of GB.&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;
Jeff</description>
		<content:encoded><![CDATA[<p>LOL!!! I&#8217;m sorry I missed that. But you are correct &#8211; it&#8217;s MB instead of GB.</p>
<p>Thanks!</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laytonjb</title>
		<link>http://www.linux-mag.com/id/7357/#comment-6531</link>
		<dc:creator>laytonjb</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7357/#comment-6531</guid>
		<description>Cool idea. I never thought about using a ramdisk and write back to the SSD. How would you do the writeback part? There were some patches floating around from Daniel Phillips called Ramback that did this. I want to test these patches at some point - pretty cool idea.&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;
Jeff</description>
		<content:encoded><![CDATA[<p>Cool idea. I never thought about using a ramdisk and write back to the SSD. How would you do the writeback part? There were some patches floating around from Daniel Phillips called Ramback that did this. I want to test these patches at some point &#8211; pretty cool idea.</p>
<p>Thanks!</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laytonjb</title>
		<link>http://www.linux-mag.com/id/7357/#comment-6532</link>
		<dc:creator>laytonjb</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7357/#comment-6532</guid>
		<description>Cool idea! I didn&#039;t think about using a ramdisk and writing back to the SSD. Talk about really fast write performance!&lt;br /&gt;
&lt;br /&gt;
How would you do the write back?&lt;br /&gt;
&lt;br /&gt;
One thing I want to try is a set of patches from Daniel Phillips called Ramback. They do exactly what you say - write back from a ramdisk to device such as spinning disk, usb, or SSD. I just need to find some time to actually test it :)&lt;br /&gt;
&lt;br /&gt;
Thanks!&lt;br /&gt;
&lt;br /&gt;
Jeff</description>
		<content:encoded><![CDATA[<p>Cool idea! I didn&#8217;t think about using a ramdisk and writing back to the SSD. Talk about really fast write performance!</p>
<p>How would you do the write back?</p>
<p>One thing I want to try is a set of patches from Daniel Phillips called Ramback. They do exactly what you say &#8211; write back from a ramdisk to device such as spinning disk, usb, or SSD. I just need to find some time to actually test it :)</p>
<p>Thanks!</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laytonjb</title>
		<link>http://www.linux-mag.com/id/7357/#comment-6533</link>
		<dc:creator>laytonjb</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7357/#comment-6533</guid>
		<description>LOL Mea Cupla. I screwed up the measurement. It should have been MB instead of GB.</description>
		<content:encoded><![CDATA[<p>LOL Mea Cupla. I screwed up the measurement. It should have been MB instead of GB.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: laytonjb</title>
		<link>http://www.linux-mag.com/id/7357/#comment-6534</link>
		<dc:creator>laytonjb</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.linux-mag.com/id/7357/#comment-6534</guid>
		<description>Good observations. Thanks!&lt;br /&gt;
&lt;br /&gt;
Jeff</description>
		<content:encoded><![CDATA[<p>Good observations. Thanks!</p>
<p>Jeff</p>
]]></content:encoded>
	</item>
</channel>
</rss>