Home | History | Annotate | Download | only in vndcompress
History log of /src/usr.bin/vndcompress/Makefile
RevisionDateAuthorComments
 1.14  18-Nov-2014  riastradh Fix vndcompress restart failure fallback when input is a pipe.

Defer seeking the *input* image, or winding it forward, until we are
certain we all ready in the cloop2 output, because when the input
image is a pipe, we don't get a chance to seek back to the beginning
and start from the top instead of restarting.

If restart does fail, don't try to seek the input image back to the
beginning unless we had already tried to seek or wind it forward.

Add some automatic tests for this and related cases.

XXX pullup to netbsd-7, netbsd-6
 1.13  22-Jan-2014  riastradh branches: 1.13.4;
Change vndcompress to use a default window size of 512.

For vnduncompress on nonseekable input, the window size is as large
as it needs to be by default, as before. Not clear that this is the
right choice -- by default vnduncompress on nonseekable input will
just use unbounded memory unsolicited.
 1.12  22-Jan-2014  riastradh Rename block size option from `-s' to `-b'.

Makes more sense and makes it consistent with other utilities such as
pax and pigz. This vndcompress has never gone out in a release, so
changing the name of the option shouldn't cause too many problems...
 1.11  22-Jan-2014  riastradh Fix up ulimited vndcompress tests and explain what's up with them.
 1.10  22-Jan-2014  riastradh Add some simple automatic tests for window sizes.
 1.9  22-Jan-2014  riastradh Add comment explaining why piperestart.cl2part is allowed to fail.
 1.8  22-Jan-2014  riastradh Add WARNS=5.
 1.7  22-Jan-2014  riastradh Use write-to-temporary/rename-to-permanent pattern in Makefile.
 1.6  22-Jan-2014  riastradh Abstract handling of the cloop2 offset table.

Preparation for converting it to use a fixed-size window.
 1.5  22-Jan-2014  riastradh Move vndcompress utilities to utils.c.
 1.4  11-Aug-2013  dholland Remove redundant WARNS=5.
 1.3  03-May-2013  riastradh Rewrite vndcompress to support SIGINFO and restart after interrupt.

Make it generally more robust in the process.

No objection (or comment) on tech-userlevel.

ok christos
 1.2  14-Apr-2009  lukem branches: 1.2.6; 1.2.8; 1.2.12;
Enable WARNS=4 by default for usr.bin, except for:
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
 1.1  25-Jul-2005  hubertf branches: 1.1.1;
Initial revision
 1.1.1.1  25-Jul-2005  hubertf branches: 1.1.1.1.2; 1.1.1.1.32;
Add vndcompress(1) and vnduncompress(1) to transform filesystem/disk
images from "normal" into cloop2-format compressed images and back.
Written by Florian Stoehr (netbsd@wolfnode.de) with some polishing
by me.

Compressed disk images can be used with the vnd(4) driver when compiled with
VND_COMPRESSION and "vnconfig -z". Useful for creation of Live CDs/DVDs.
 1.1.1.1.32.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.1.1.1.2.2  16-Aug-2005  tron Pull up revision 1.1 (requested by hubertf in ticket #667):
Add vndcompress(1) and vnduncompress(1) to transform filesystem/disk
images from "normal" into cloop2-format compressed images and back.
Written by Florian Stoehr (netbsd@wolfnode.de) with some polishing
by me.

Compressed disk images can be used with the vnd(4) driver when compiled with
VND_COMPRESSION and "vnconfig -z". Useful for creation of Live CDs/DVDs.
 1.1.1.1.2.1  25-Jul-2005  tron file Makefile was added on branch netbsd-3 on 2005-08-16 12:03:44 +0000
 1.2.12.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.12.1  23-Jun-2013  tls resync from head
 1.2.8.2  24-Mar-2015  snj Pull up following revision(s) (requested by riastradh in ticket #1269):
usr.bin/vndcompress/Makefile: revision 1.14
usr.bin/vndcompress/vndcompress.c: revision 1.25
Fix vndcompress restart failure fallback when input is a pipe.
Defer seeking the *input* image, or winding it forward, until we are
certain we all ready in the cloop2 output, because when the input
image is a pipe, we don't get a chance to seek back to the beginning
and start from the top instead of restarting.
If restart does fail, don't try to seek the input image back to the
beginning unless we had already tried to seek or wind it forward.
Add some automatic tests for this and related cases.
XXX pullup to netbsd-7, netbsd-6
 1.2.8.1  07-Dec-2014  martin Pull up following revision(s) (requested by riastradh in ticket #1138):
usr.bin/vndcompress/Makefile 1.3-1.13
usr.bin/vndcompress/common.h 1.1-1.6
usr.bin/vndcompress/main.c 1.1-1.3
usr.bin/vndcompress/offtab.c 1.1-1.13
usr.bin/vndcompress/offtab.h 1.1-1.2
usr.bin/vndcompress/utils.c 1.1-1.4
usr.bin/vndcompress/utils.h 1.1-1.3
usr.bin/vndcompress/vndcompress.1 1.7-1.14
usr.bin/vndcompress/vndcompress.c 1.8-1.24
usr.bin/vndcompress/vndcompress.h delete
usr.bin/vndcompress/vnduncompress.c 1.1-1.11
Rewrite vndcompress to support SIGINFO and restart after interrupt.
Make it generally more robust in the process.
 1.2.6.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.13.4.1  18-Mar-2015  snj Pull up following revision(s) (requested by riastradh in ticket #609):
usr.bin/vndcompress/Makefile: revision 1.14
usr.bin/vndcompress/vndcompress.c: revision 1.25
Fix vndcompress restart failure fallback when input is a pipe.
Defer seeking the *input* image, or winding it forward, until we are
certain we all ready in the cloop2 output, because when the input
image is a pipe, we don't get a chance to seek back to the beginning
and start from the top instead of restarting.
If restart does fail, don't try to seek the input image back to the
beginning unless we had already tried to seek or wind it forward.
Add some automatic tests for this and related cases.
XXX pullup to netbsd-7, netbsd-6

RSS XML Feed