[illumos-Discuss] [ multi-extent files

Laurent Blume laurent at opensolaris.org
Mon Nov 29 08:40:08 PST 2010


Le 28.11.2010 17:12, Apostolos Syropoulos a écrit :
> apostolo at nadya:/opt/gnu# tar -cf c++.tar c++

> structGlib_1_1Container__Helpers_1_1TypeTraits_3_01Glib_1_1RefPtr_3_01Gio_1_1Volume_01_4_01_4-members.html:
>   filename is greater than 100


But that is a documented and expected behaviour:

                              When a file is archived, and  the  E
                              flag (see Function Modifiers) is not
                              specified,   the   filename   cannot
                              exceed  256 characters. In addition,
                              it must be  possible  to  split  the
                              name  between parent directory names
                              so that the prefix is no longer than
                              155  characters  and  the name is no
                              longer than 100 characters. If E  is
                              specified,  a name of up to PATH_MAX
                              characters may be specified.

                              For example, a file  whose  basename
                              is  longer than 100 characters could
                              not be archived without using the  E
                              flag.


Have you tried with E and it didn't work either?
Or maybe you are suggesting to modify the default behaviour to be the E 
one, which would produce files incompatible with some old Solaris 
versions. It might be time, since AFAICT, S9 already supported it.


Laurent



More information about the Discuss mailing list