Hi,
> Hi guys,
> How can I get the maximum compression from bzip2 by tar?
>
> I try this but not work [although with linux it works]:
> tar cvv file_to_compress | pbzip2 -9 -v > compressed.tbz2
> return--> tar: Failed open to write on /dev/rst0: Device not configured
>
I believe the ancient default for tar(1) is to try to open the 0th
st(1) device in raw mode, that's what you're seeting. Try:
% tar cvvf -
(piped to whatever you want) instead.
> Can anyone give me some tips?
It's more modern to use pax(1), whose syntax is different, but which
behaves in the way you'd expect these days.
> Thanks.
You're welcome :)
--schaafuit