tar limited by filename length (<100 chars)

Glenn L. McGrath bug1 at iinet.net.au
Tue Oct 11 02:43:25 UTC 2005


On Mon, 10 Oct 2005 21:20:40 -0400
Mike Frysinger <vapier at gentoo.org> wrote:

> On Monday 10 October 2005 07:30 pm, Ian W Roberts wrote:
> > I find that it can't save into archives files with pathnames >100 chars in
> > length.
> 
> this behavior is by design.  POSIX 1003.1-1990 says that the largest name that 
> can be stored is 100 chars in length.
> 
> not sure if anyone plans on implementing GNU extensions (such as supporting 
> unlimited filename length) ...

The filename and file path can be stored in seperate fields, filename
limit is 100, path is 155 (iirc) giving a total of 255.

Im sure busybox tar will append the filename to the path if the path
field contains data.


Glenn



More information about the busybox mailing list