Subject: Re: pax error: File name too long for ustar
To: None <netbsd-help@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: netbsd-help
Date: 04/18/2007 18:32:52
In article <17958.13943.737980.678048@viola.nmsu.edu>,
Brook Milligan <brook@biology.nmsu.edu> wrote:
>I am trying to make a tar archive with pax. The command I am using is
>the following
>
> /bin/pax -w -v -x ustar -z -s "|^\\.|./probability|" .) > archive.tar.gz
>
>I get the following error message:
>
>
>./probability/structstd_1_1numeric__limits_3_01boost_1_1probabilities_1_1likelihood_3_01boost_1_1probabilities_1_1linear__domain_00_01Value_01_4_01_4.html
> pax: File name too long for ustar
>./probability/structstd_1_1numeric__limits_3_01boost_1_1probabilities_1_1likelihood_3_01boost_1_1probabilities_1_1linear__domain_00_01Value_01_4_01_4.html
>
>The pax man page has the following to say about the ustar format:
>
> ustar The extended tar interchange format specified in the IEEE
> Std 1003.2 (``POSIX.2'') standard. The default blocksize
> for this format is 10240 bytes. Pathnames stored by this
> format must be 250 characters or less in length.
>
>The above file name is not greater than 250 characters by my count.
>
>Can anyone identify the problem here? Thanks for your help.
Yes, this is a bug. Please file a PR.
christos