Re: tar(1) problem with long file names.

2005-10-22 Thread Liviu Daia
On 22 October 2005, Hannah Schroeter <[EMAIL PROTECTED]> wrote: > Hello! > > On Sat, Oct 22, 2005 at 01:43:03PM +, Christian Weisgerber wrote: > >Hannah Schroeter <[EMAIL PROTECTED]> wrote: > > >> Use a more apt data format in your use case. Ehm correcting myself: > >> According to pax(1), 10

Re: tar(1) problem with long file names.

2005-10-22 Thread Hannah Schroeter
Hello! On Sat, Oct 22, 2005 at 01:46:10PM +, Christian Weisgerber wrote: >Jay Fenlason <[EMAIL PROTECTED]> wrote: >> GNU tar uses a variety of ugly hacks to get around the 100 (original >> tar) or 255 (ustar) character limit in file and path names. >> Unfortunatly, only gnu tar can correctly

Re: tar(1) problem with long file names.

2005-10-22 Thread Hannah Schroeter
Hello! On Sat, Oct 22, 2005 at 01:43:03PM +, Christian Weisgerber wrote: >Hannah Schroeter <[EMAIL PROTECTED]> 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 ust

Re: tar(1) problem with long file names.

2005-10-22 Thread Christian Weisgerber
Jay Fenlason <[EMAIL PROTECTED]> wrote: > GNU tar uses a variety of ugly hacks to get around the 100 (original > tar) or 255 (ustar) character limit in file and path names. > Unfortunatly, only gnu tar can correctly extract such archives. Well, there are at least two independent implementations t

Re: tar(1) problem with long file names.

2005-10-22 Thread Christian Weisgerber
Hannah Schroeter <[EMAIL PROTECTED]> 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).

Re: tar(1) problem with long file names.

2005-10-22 Thread Hannah Schroeter
Hello! On Fri, Oct 21, 2005 at 02:07:16PM -0500, eric wrote: >It seems that tar(1) is only able to archive filenames of 100 characters or >less. However, ufs can handle (I've been testing using touch(1)) filenames >up to 255 characters. I tried to modify the following in src/bin/pax/tar.h It's an

Re: tar(1) problem with long file names.

2005-10-21 Thread Jay Fenlason
On Fri, Oct 21, 2005 at 02:07:16PM -0500, eric wrote: > It seems that tar(1) is only able to archive filenames of 100 characters or > less. However, ufs can handle (I've been testing using touch(1)) filenames > up to 255 characters. I tried to modify the following in src/bin/pax/tar.h > > #define

Re: tar(1) problem with long file names.

2005-10-21 Thread Marc Espie
On Fri, Oct 21, 2005 at 02:07:16PM -0500, eric wrote: > It seems that tar(1) is only able to archive filenames of 100 characters or > less. However, ufs can handle (I've been testing using touch(1)) filenames > up to 255 characters. I tried to modify the following in src/bin/pax/tar.h You can't do

Re: tar(1) problem with long file names.

2005-10-21 Thread Bob Beck
It's not a bug, it's a feature. Thank POSIX.2 which specifies for ustar that the total pathname must be 255 chars or less and the filename must be 100 chars or less. go read pax(1) -Bob * eric <[EMAIL PROTECTED]> [2005-10-21 13:15]: > It seems that tar(1) is only able to

tar(1) problem with long file names.

2005-10-21 Thread eric
It seems that tar(1) is only able to archive filenames of 100 characters or less. However, ufs can handle (I've been testing using touch(1)) filenames up to 255 characters. I tried to modify the following in src/bin/pax/tar.h #define TNMSZ 100 /* size of name field */ to #d