<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/mkfs, branch v0.5</title>
<subtitle>A new set of tools and libraries for working with SquashFS images</subtitle>
<id>https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v0.5</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v0.5'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2019-07-25T20:10:24+00:00</updated>
<entry>
<title>Generate linear file list in fstree</title>
<updated>2019-07-25T20:10:24+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-23T14:12:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=22fba34bcd0f2944def234fa684d1c9cc4d65310'/>
<id>urn:sha1:22fba34bcd0f2944def234fa684d1c9cc4d65310</id>
<content type='text'>
Instead of doing DFS on the fly in gensquashfs, churn out a linked list
of all files in an archive.

Future improvements in packing strategies can go into this file.

This can also be usefull for other purposes in the future, such as file
deduplication or as a work queue for the unpacker.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>cleanup: remove unneccessary conditionals from automake files</title>
<updated>2019-07-25T20:07:32+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-25T20:07:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=8cc66cf51bdbf50e3476b58106627afc7adc1300'/>
<id>urn:sha1:8cc66cf51bdbf50e3476b58106627afc7adc1300</id>
<content type='text'>
If some library isn't present, the variable $(FOO_LIBS) simply evaluates
to empty string, so it can be simply be added to LDADD without any checks.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>cleanup: remove some redundant header inclusions</title>
<updated>2019-07-25T20:01:47+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-25T20:01:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=0ad74489aee8717d13b76a3cdf2ee00f5811bf9b'/>
<id>urn:sha1:0ad74489aee8717d13b76a3cdf2ee00f5811bf9b</id>
<content type='text'>
The utility programs pretty much all have the same structure of including
one central header per C file that includes all required library headers,
so we can simply include config.h which we need for large file support
from there and remove it from the C files.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Enable largefile support</title>
<updated>2019-07-24T07:16:16+00:00</updated>
<author>
<name>Matt Turner</name>
<email>mattst88@gmail.com</email>
</author>
<published>2019-07-23T20:48:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=05a30292f9d2be63af3b4c27d5ae89801da602a2'/>
<id>urn:sha1:05a30292f9d2be63af3b4c27d5ae89801da602a2</id>
<content type='text'>
Requires that config.h be included before other headers, since the macro
_FILE_OFFSET_BITS changes the definitions of things like 'struct stat'.
I chose to simply include it at the top of every C file and at
immediately after the double-inclusion guards of every header.

Signed-off-by: Matt Turner &lt;mattst88@gmail.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add a way to optionally keep the original time stamps</title>
<updated>2019-07-22T15:12:45+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-22T01:28:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=adc8e37d7f86d661ab54adf9c43e4b0aa67a939c'/>
<id>urn:sha1:adc8e37d7f86d661ab54adf9c43e4b0aa67a939c</id>
<content type='text'>
First of all, this commit adds a mod_time field to a tree node. When
creating the tree node, the field is set from the struct stat. When
scanning a directory, the time stamps from the input are used if set.

Second, the libsqfs code that reads inodes is modified to store the
mod_time from the inode in the fstree node and to write the tree node
into a generated inode.

Finally, tar2sqfs is modified to optionally keep the timestamps from
the tar archive instead of setting defaults. gensquashfs is similarly
modified to keep the input timestamps if specified.

The result is as follows:
 - sqfs2tar will always carry the timestamps from the squashfs over
   to the tar ball.
 - tar2sqfs will set defaults, unless explicitly asked to preserve
   the mtime from the tar ball.
 - gensquashfs can optionally preserve the mtime from the input
   hierarchy it processes if only --pack-dir is specified.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Implement generating an inode table for NFS export</title>
<updated>2019-07-21T18:22:04+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-21T18:22:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=2a05bf5bc660bfebb35e42f1f8a0c0ac56e0f9d9'/>
<id>urn:sha1:2a05bf5bc660bfebb35e42f1f8a0c0ac56e0f9d9</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>fstree: add support for spaces in filenames</title>
<updated>2019-07-17T09:05:42+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-17T08:53:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=1f980897f6947dd17eaa0190b2c1a23fb700636b'/>
<id>urn:sha1:1f980897f6947dd17eaa0190b2c1a23fb700636b</id>
<content type='text'>
This commit adds a mechanism to fstree_from_file to support filenames
with spaces in them by quoting the entire string. Quote marks can still
be used inside file names by escaping them with a backslash. Back slashes
(if that is your thing) can also be escaped.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add flags to data writer to micro manage behaviour</title>
<updated>2019-07-15T12:47:03+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-15T12:44:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=14a925f6da442ecade7df75eb46a6edb9a1499af'/>
<id>urn:sha1:14a925f6da442ecade7df75eb46a6edb9a1499af</id>
<content type='text'>
The added flags allow controlling the following on a per file level:
 - forcing a file to be written uncompressed
 - forcing a file to not have a fragment, i.e. the last truncated block
   actually being written as a block
 - padding a file to be alligned to device block size

The flags are not yet exposed to anything user controllable (such as
command line flags).

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix: always initialize gensquashfs defaults option</title>
<updated>2019-07-07T16:10:05+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-07T16:04:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=29bfa76ed02a6e13330caa8f74385d48eca2ff58'/>
<id>urn:sha1:29bfa76ed02a6e13330caa8f74385d48eca2ff58</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>gensquashfs: Remove rest of read_number from options parser</title>
<updated>2019-06-23T08:32:13+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-23T08:32:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=b7267b9552555d557ff7e42ed5373be769eef4bf'/>
<id>urn:sha1:b7267b9552555d557ff7e42ed5373be769eef4bf</id>
<content type='text'>
Use a simple strtol for block size and device block size:

 - We don't need to check the block size, sqfs_super_init does that.
 - We only need to make sure the device block size is at least 1k.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
</feed>
