[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug in tar?

I was just trying to copy my kernel modules via tar. But the following
command doesn't work:

( cd /lib/modules; tar -cf - 2.0.27 ) | sudo tar -xpvf -

It just tells me:

tar: Hmm, this doesn't look like a tar archive
tar: Skipping to next file header

Reversing the logic and using the following instead works fine.

tar -cf - 2.0.27 | ( cd /dos/linux/lib/modules ; sudo tar -xpvf - )

Is this a bug in tar?

Michael Meskes, Projekt-Manager      | meskes@topsytem.de, meskes@debian.org
topsystem Systemhaus GmbH            | Tel: (+49) 2405/4670-44
Europark A2, Adenauerstr. 20         | Fax: (+49) 2405/4670-10
52146 Wuerselen                      | Go SF 49ers! Use Debian GNU/Linux!

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: