Subject: bin/8997: tar won't untar an OSF/1 tar file properly
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/15/1999 19:30:49
>Number:         8997
>Category:       bin
>Synopsis:       tar won't untar an OSF/1 tar file properly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 15 19:30:00 1999
>Originator:     Raymond Phillips
>Release:        alpha 1.4.1
NetBSD 1.4.1 NetBSD 1.4.1 (GENERIC) #0: Mon Aug  9 02:30
:53 PDT 1999     ross@sutekh:/usr/src/sys/arch/alpha/compile/GENERIC alpha

I made a tar file on an DEC Alpha 3000/400 machine which is running
OSF/1 v2.0.  When I untarred it on my NetBSD machine the directory
structure had bee altered -- some of the directories had been "move up"
the directory structure.


I've been told that the problem is that some of the files in the tar
file have more that 100 characters in them, counting the directory
names, and that OSF/1's tar uses the POSIX system encoding such files.

The version of tar that's built into NetBSD/1.4.1 is 1.11.2.  When I
installed GNU tar version 1.13 (which is the latest as far as I'm aware)
and used that the file was untarred correctly.

Perhaps you'd like to update the version of tar that's included with