[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tar(1) problem with long file names.
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: tar(1) problem with long file names.
- From: naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de (Christian Weisgerber)
- Date: Sat, 22 Oct 2005 13:43:03 +0000 (UTC)
- Newsgroups: list.openbsd.misc
Hannah Schroeter <hannah_(_at_)_schlund_(_dot_)_de> wrote:
> Use a more apt data format in your use case. Ehm correcting myself:
> According to pax(1), 100 is the limit for pathnames in the old tar
> format, while the limit for ustar is 250. For *pathnames*!.
>
> Perhaps you can use cpio (or pax with -x cpio).
Actually, it's the SVR4 cpio format ("sv4cpio" or the variant
"sv4crc") you want. 1024-char file/path names, 32-bit inode and
device numbers, and even reasonably portable.
--
Christian "naddy" Weisgerber naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de
Visit your host, monkey.org