Re: Linux 2.6.33-rc7

From: H. Peter Anvin
Date: Sun Feb 07 2010 - 22:31:31 EST


On 02/07/2010 11:10 AM, James Cloos wrote:
>>>>>> "Mark" == Mark Lord <kernel@xxxxxxxxxxxx> writes:
>
> Mark> I just wish the GNU tar folk had the sense to combine -z and -j
> Mark> into a single flag.
>
> Try the -a flag:
>
> -a, --auto-compress use archive suffix to determine the compression program
>
> (Which does seem to be on by default, now, as mentioned in the other reply.)
>

For decompression it should use magic numbers, not filenames. For
compression, using filenames as a heuristic I guess makes sense.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/