<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/lib/sqfs, branch v0.4</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.4</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v0.4'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2019-07-04T18:13:49+00:00</updated>
<entry>
<title>Fix: simplify deduction logic for squashfs inode type</title>
<updated>2019-07-04T18:13:49+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-04T17:47:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=55e47e40624f1c91f4e6af8d6ba17552dec152a2'/>
<id>urn:sha1:55e47e40624f1c91f4e6af8d6ba17552dec152a2</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix: check block_log range before deriving block size from it</title>
<updated>2019-07-04T17:24:44+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-04T17:24:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=8ce28a622dbfbf2d4db3e9805e95e532c8e2dc13'/>
<id>urn:sha1:8ce28a622dbfbf2d4db3e9805e95e532c8e2dc13</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix: actually check return value when writing xattrs</title>
<updated>2019-07-04T17:20:25+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-04T17:20:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=8a5f6693f2d1fea14f1941ee10910e3037fab506'/>
<id>urn:sha1:8a5f6693f2d1fea14f1941ee10910e3037fab506</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>tar2sqfs: repack extended attributes into squashfs filesystem</title>
<updated>2019-07-04T11:42:06+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-04T11:26:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=2ed6658bbce90e89f0a4e3aba41704944f10b1f1'/>
<id>urn:sha1:2ed6658bbce90e89f0a4e3aba41704944f10b1f1</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add missing htole32 transformations</title>
<updated>2019-07-02T10:30:12+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-02T10:30:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=1c75a1860c5d6856f8b15367a46534ec18eb851b'/>
<id>urn:sha1:1c75a1860c5d6856f8b15367a46534ec18eb851b</id>
<content type='text'>
Assuming this code will ever see a big endian platform.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix directory index offset calculation</title>
<updated>2019-07-02T10:27:33+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-02T10:27:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=0bf27f94c3f745c85adda0dc25689dc6e328822c'/>
<id>urn:sha1:0bf27f94c3f745c85adda0dc25689dc6e328822c</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Make sure fragment and id tables are initialized</title>
<updated>2019-07-01T09:46:40+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-07-01T09:08:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=f0d18050d832498c8e230c04084675455fef391f'/>
<id>urn:sha1:f0d18050d832498c8e230c04084675455fef391f</id>
<content type='text'>
In case the tables are not completely filled by reading from the
squashfs image.

Bug found using scan-build.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add support for repacking condensed sparse files</title>
<updated>2019-06-30T14:41:21+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-30T14:41:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=f439b20706ade4b5630c3d6c57e6a36ce0dc287a'/>
<id>urn:sha1:f439b20706ade4b5630c3d6c57e6a36ce0dc287a</id>
<content type='text'>
This commit broadly does the following things:
 - Rename and move the sparse mapping structure to libutil
 - Add a function to the data writer for writing condensed versions
   of sparse files, given the mapping.
 - This shares code with the already existing function for regular
   files. The shared code is moved to a common helper function.
 - Add support to tar2sqfs for repacking sparse files.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add support for unpacking sparse files as sparse files</title>
<updated>2019-06-28T13:07:34+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-28T11:01:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=d92e4dc101bcb6f807accff8c8ecad4030f41afb'/>
<id>urn:sha1:d92e4dc101bcb6f807accff8c8ecad4030f41afb</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Add support for packing sparse files</title>
<updated>2019-06-28T13:07:34+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-28T10:41:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=4e017928c7b5b590d2c7e04e42cb497eb3a4f8cf'/>
<id>urn:sha1:4e017928c7b5b590d2c7e04e42cb497eb3a4f8cf</id>
<content type='text'>
This commit adds support for packing sparse files into squashfs images
as follows:

 - In the data writer: simply detect zero blocks and write a zero to the
   block size field and don't emit any data. Record the number of bytes
   saved this way. For fragments, set the fragment offset to invalid.
 - In the inode writer: write out the number of bytes saved for sparse
   files. If there should be a fragment but there is none, append a block
   count of 0.
 - In the data reader: if the block size is 0, read nothing from disk and
   emit an empty block. Do the same if the fragment is missing.
 - In the inode reader: restore the number of bytes saved for sparse files.

The sparse files can be packed and unpacked, but the unpacking will not
create sparse files for now.

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