History log of /freebsd-10-stable/usr.bin/mkuzip/mkuzip.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 319267 30-May-2017 asomers

MFC r318141, r318143-r318144

r318141:
strcpy => strlcpy

Reported by: Coverity
CID: 1352771
Sponsored by: Spectra Logic Corp

r318143:
strcpy => strlcpy

Reported by: Coverity
CID: 1006715
Sponsored by: Spectra Logic Corp

r318144:
Don't depend on assert(3) getting evaluated

Reported by: imp
X-MFC-With: 318141, 318143
Sponsored by: Spectra Logic Corp


# 303095 20-Jul-2016 sobomax

MFC: merge in all new features and improvements into mkuzip(8) from current,
which includes:

o LZMA compression;
o block de-duplication;
o performance improvements;
o multi-thread support.

This includes the following revisions:
r295943,r296626,r296628,r296810,r298504,r298505,r298577

Suggested by: emaste


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 221832 13-May-2011 ru

Fixed an embedded shell script.

Reviewed by: sobomax


# 167272 06-Mar-2007 fjoe

Support character device as input file.

PR: 103500


# 155074 30-Jan-2006 pjd

Tell the user exactly where the problem was.


# 146107 11-May-2005 fjoe

- check for geom_uzip module presence using kldstat -m.
kldstat -m finds geom_uzip module even if it is compiled in statically.
- create output file with x bit set.
- build mkuzip on all architectures (verified with "make universe").
- fix typo in info message.


# 145808 02-May-2005 sobomax

Make WARNS=6 clean, which should make it compiling on amd64.

Submitted by: Matteo Riondato <rionda@gufi.org>


# 135058 10-Sep-2004 sobomax

o Print more info in the verbose mode;

o use zlib(3) function which computes maximum length of the output
buffer instead of rolling own version;

o allow size of input file to be not multiple of cluster size by applying
zero padding.


# 135045 10-Sep-2004 sobomax

Add mkuzip(8), non-GPL utility to compress filesystem images for use with
geom_uzip module. This is based on utility I wrote some 3 years ago for a
hack for md(4), which functionally was close to what geom_uzip does today.

Since I don't have a time to test that it compiles/works on other arches,
stick it to i386 only. Will do it later.

Unlike original cloop util, this one embedds FreeBSD-compatible shell code
into the generated image, not Linux one. Unfortunately severe space
restriction imposed by the CLOOP format doesn't allow to put conditional
code which will work both on Linux and FreeBSD. In fact it was quite a
challenge to fit necessary FreeBSD code into 127 bytes. ;-)