<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/squashfs/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/squashfs/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/squashfs/support-requests/</id><updated>2016-07-05T00:30:25.225000Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>./configure failing due to syntax error in configure file.</title><link href="https://sourceforge.net/p/squashfs/support-requests/5/" rel="alternate"/><published>2016-07-05T00:30:25.225000Z</published><updated>2016-07-05T00:30:25.225000Z</updated><author><name>Wilfredo </name><uri>https://sourceforge.net/u/wcontreras/</uri></author><id>https://sourceforge.net18130bcc2cf3782e3561d2222944f8a59be40325</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I haven't been able to compile squash-fs, the process fails during ./configure, with the following message:&lt;/p&gt;
&lt;p&gt;./configure: line 13582: syntax error near unexpected token &lt;code&gt;pkgconfig_XZ,liblzma,'
./configure: line 13582:&lt;/code&gt;  PKG_CHECK_MODULES(pkgconfig_XZ,liblzma,'&lt;/p&gt;
&lt;p&gt;I double-checked the PLATFORMS and README files, and I believe I installed all required packages. &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Wilfredo&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#4 mksquashfs -ef not excluding hidden directories</title><link href="https://sourceforge.net/p/squashfs/support-requests/4/?limit=25#d6ce" rel="alternate"/><published>2015-03-21T10:58:50.552000Z</published><updated>2015-03-21T10:58:50.552000Z</updated><author><name>kidharb</name><uri>https://sourceforge.net/u/kidharb/</uri></author><id>https://sourceforge.net154f9073d3d7fb31b8c2d9be5879bc61dc694f3e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Nevermind, i realised that you have to create an "excludes" file and put your files / directory's inside of it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>mksquashfs -ef not excluding hidden directories</title><link href="https://sourceforge.net/p/squashfs/support-requests/4/" rel="alternate"/><published>2015-03-21T10:41:51.392000Z</published><updated>2015-03-21T10:41:51.392000Z</updated><author><name>kidharb</name><uri>https://sourceforge.net/u/kidharb/</uri></author><id>https://sourceforge.net4012ddd2f95409b332fd856daa208e1f8205315c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My directory structure contains a hidden folder namely ".git".&lt;br /&gt;
Is it possible to exclude hidden directory's with the "-ef" option?&lt;/p&gt;
&lt;p&gt;I am using mksquash version 4.0&lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;
Kidhar&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Compression options</title><link href="https://sourceforge.net/p/squashfs/support-requests/3/" rel="alternate"/><published>2013-07-22T04:11:09.846000Z</published><updated>2013-07-22T04:11:09.846000Z</updated><author><name>Steve Kieu</name><uri>https://sourceforge.net/u/stevek11/</uri></author><id>https://sourceforge.netb34eccf40738877eb633b994b8732e9b4fceb3bc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Two points:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;the lzo compress we use is very slow (test it, it even slower than the default gzip 9 in my machine) and it produce even bigger squashfs image compare with the faster lzo compression&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thus I suggest we can use: lzo1x_1_15_compress  instead of  lzo1x_999_compress. I tested myself, it is &lt;strong&gt;much&lt;/strong&gt; faster to compress and the output file size is even smaller.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Add an option to allow gzip level rather than hard coded to 9. For example Gzip 4 which make it much less CPU time and produce just a bit bigger size but tehre is no way to set it now &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;(Well I did a quick hack by let mksquashfs read the environment GZIP_LEVEL and use it like this in gzip_wrapper.c&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;   &lt;span class="kt"&gt;char&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;gzlevel&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;getenv&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;&amp;quot;GZIP_LEVEL&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="n"&gt;gzlevel&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;gzlevel&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;4&amp;quot;&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;deflateInit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;stream&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;atoi&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;gzlevel&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;but it should be a permanent option. I had a quick look of how it should be implemented but find it hard to implement as it talk to a generic wrapper - and it handles it a bit complex to me)&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>unsquashfs endianness</title><link href="https://sourceforge.net/p/squashfs/support-requests/2/" rel="alternate"/><published>2012-10-12T08:06:44Z</published><updated>2012-10-12T08:06:44Z</updated><author><name>Yuji1 Saeki</name><uri>https://sourceforge.net/u/userid-2099282/</uri></author><id>https://sourceforge.net67c82f63c11ab4f3d4ccaeb09477aef5c891add4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I've compiled squashfs-tools and have a problem with endianness. If I specify -be BigEndian for any mksquashfs I can't unpack it with unsquashfs.&lt;/p&gt;
&lt;p&gt;mkdir test&lt;br /&gt;
mksquashfs 'test' 'test.sq' -all-root -be&lt;br /&gt;
unsquashfs 'test.sq'&lt;/p&gt;
&lt;p&gt;Reading a different endian SQUASHFS filesystem on test.sq&lt;br /&gt;
Can't find a SQUASHFS superblock on test.sq&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>empty inode entry in 2.2r2 causes filesystem failure</title><link href="https://sourceforge.net/p/squashfs/support-requests/1/" rel="alternate"/><published>2006-06-14T00:57:44Z</published><updated>2006-06-14T00:57:44Z</updated><author><name>A_v</name><uri>https://sourceforge.net/u/userid-1539449/</uri></author><id>https://sourceforge.net396c8273a6339097bb19528ad24a4af6dcdd975c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to use the squashfs version 2.2r2 to&lt;br /&gt;
generate a compressed filesystem image, using the&lt;br /&gt;
following:&lt;/p&gt;
&lt;p&gt;/PATH_TO_TOOLS/squashfs-tools/mksquashfs&lt;br /&gt;
/tmp/DIR_TO_SQUASH/* output.img -noappend -nopad -info&lt;br /&gt;
-le -all-root&lt;/p&gt;
&lt;p&gt;The problem is that sometimes I see that sometimes that&lt;br /&gt;
there is an empty directory inode that is created:&lt;/p&gt;
&lt;p&gt;"mksquashfs: directory  inode 0x912"&lt;/p&gt;
&lt;p&gt;Whenever this happens the filesystem image that is&lt;br /&gt;
created can't be read.&lt;/p&gt;
&lt;p&gt;I was wondering if anyone else had seen this problem&lt;br /&gt;
and if they have, is there a workaround for it?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
AV.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>