Comments (7)
This issue blocks pixz to be used as a dropin replacement for gzip (sort --compress-program=pixz / tar --use-compress-program pixz / parallel --compress-program pixz).
from pixz.
Can also be reproduced with:
echo | pixz | pixz -d | wc
from pixz.
Thanks for reporting. I am not yet well versed with the internals, @vasi can you shed some light on this?
from pixz.
Pixz can decompress fine without an index. The only potential problems I can think of are:
- Some tools might create pixz files with multiple blocks, where the blocks headers don't include a size. In that case, pixz won't be able to do parallel decompression, things will slow down.
- Someone might try to use the "-x" option to pixz, to filter the list of files. That won't work if there's no index.
We should probably turn this message into a warning?
from pixz.
I guess, we could implement a switch that checks early if we are working with a stream or a plain file, then branch off to one section that handles streams and one that handles files. This way, we can capture what capabilities are possible and issue warnings/errors appropriately depending on what the user wants.
from pixz.
any update on this ?
i'm keep getting
partclone.c,open_target,1611: open /dev/sda1 error(17)
from pixz.
Maybe I'm missing how this is supposed to be used,
But i did pixz backup.tar backup.tpxz
and it compressed the raw tarball.
If I do pixz -l backup.tpxz
I get a fast and nice listing of all the files in the tarball.
But if I do pixz -x /some/file/from/listing backup.tpxz
I get this same message 'illegal seek' and it appears to just sit there doing nothing? (Or it takes a long time because the entire archive has to be decompressed anyway because of the illegal seek?).
If I managed to create a tpxz file without an index
How do I create one with an index?Why is the file listing so quick?
EDIT: Found it, I had my -x
command line wrong. You need to pipe in the .tpxz file with -x, and it outputs a little blob of tar you need to feed into a tar xpP
style commandline.
from pixz.
Related Issues (20)
- configure: error: AsciiDoc not found, not able to generate the man page. HOT 3
- Error decoding stream footer when trying to decompress a 3.1 TiB .tpxz file HOT 8
- cppcheck 2.8 warnings about uninitialized variables
- Crash when using -x option
- What is the default level of compression? HOT 2
- Can't compile on Fedora 38 HOT 2
- msys2 build failure HOT 18
- Indexes HOT 2
- Compilation error with GCC 10 HOT 2
- New release HOT 2
- Server mode HOT 1
- -k should be the default HOT 2
- concatenation of *xz files and then decompression using pixz HOT 2
- Building On Windows HOT 2
- manpage not installed if building from release tarball HOT 2
- build env question not package liblzma HOT 1
- Questions about tpxz / file index format HOT 6
- Error creating block encoder HOT 3
- Syntax for converting existing tar.xz archive to indexed pixz file? HOT 1
- Random failures when compressing large directories HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixz.