IIRC, GNU tar can handle this on MPE. I have a port of GNU tar laying around
somewhere on invent3k I think.
Wait... I found it:
diff -ru tar-1.13/src/extract.c tar-1.13-mpe/src/extract.c
--- tar-1.13/src/extract.c Fri Jul 2 14:24:36 1999
+++ tar-1.13-mpe/src/extract.c Wed Apr 11 14:12:17 2001
@@ -542,8 +542,13 @@
again_file:
openflag = (keep_old_files_option ?
+#ifdef mpeix
+ O_BINARY | O_WRONLY | O_CREAT | O_EXCL :
+ O_BINARY | O_WRONLY | O_CREAT | O_TRUNC)
+#else
O_BINARY | O_NDELAY | O_WRONLY | O_CREAT | O_EXCL :
O_BINARY | O_NDELAY | O_WRONLY | O_CREAT | O_TRUNC)
+#endif
| ((typeflag == GNUTYPE_SPARSE) ? 0 : O_APPEND);
/* JK - The last | is a kludge to solve the problem the O_APPEND
diff -ru tar-1.13/src/names.c tar-1.13-mpe/src/names.c
--- tar-1.13/src/names.c Tue Jul 6 22:46:51 1999
+++ tar-1.13-mpe/src/names.c Wed Apr 11 13:37:10 2001
@@ -107,7 +107,9 @@
if (!cached_gname[0] || gid != cached_gid)
{
+#ifndef mpeix
setgrent (); /* FIXME: why?! */
+#endif
group = getgrgid (gid);
if (group)
{
- Mark B.
Neil Harvey wrote:
>
> I think it's because Posix on MPE/iX won't allow certain special characters
> in subdirectory names...
>
> You may have to do a bit of work to extract the files manually into a legal
> subdirectory, and then point whoever wants the original file path at the new
> one.
>
> Regards
>
> Neil
>
> -----Original Message-----
> From: Whitlock, Joseph L [mailto:[log in to unmask]]
> Sent: 26 May 2001 10:36
> To: [log in to unmask]
> Subject: Problem - untaring enhydra-src4_0_tar
>
> e3000 Folks;
>
> I've downloaded the ENHYDRA beta version 4 so I can take a look at it's
> implemetation of J2EE.
>
> I gunzip the file ok, but when I untar the file I get the following;
>
> tar: cannot create file "././@LongLink": No such file or directory
> tar: checksum error on tape (got 0, expected 274a)
>
> Any help would be appreciated.
>
> Thanks
>
> (Here is some further info)
>
> ****************************************************************************
> *********************************
>
> SITE133 MGR.IX /IX/ENHYDRA/v40b1>whence tar
> /bin/tar
> SITE133 MGR.IX /IX/ENHYDRA/v40b1>ls -al /bin/tar
> lrwxrwxrwx 1 MANAGER.SYS 0 14 Oct 11 2000 /bin/tar ->
> /SYS/HPBIN/TAR
> SITE133 MGR.IX /IX/ENHYDRA/v40b1>ls -al /SYS/HPBIN/TAR
> -rwxr-xr-x 1 MANAGER.SYS SYS 246784 Apr 30 2000
> /SYS/HPBIN/TAR
> SITE133 MGR.IX /IX/ENHYDRA/v40b1>file /SYS/HPBIN/TAR
> /SYS/HPBIN/TAR: MPE/iX 256-byte fixed length binary (filecode:NMPRG)
> SITE133 MGR.IX /IX/ENHYDRA/v40b1>callci me
> USER: #S2634,MGR.IX,PUB (IN PROGRAM)
> RELEASE: C.60.00 MPE/iX HP31900 C.16.01 USER VERSION: C.60.02
> CURRENT: SAT, MAY 26, 2001, 12:58 PM
> LOGON: SAT, MAY 26, 2001, 12:55 PM
> CPU SECONDS: 3 CONNECT MINUTES: 3
> $STDIN LDEV: 406 $STDLIST LDEV: 406
> SITE133 MGR.IX /IX/ENHYDRA/v40b1>ls -al
> total 276782
> drwxrwxr-x 2 MGR.IX IX 320 May 26 12:56 .
> drwxrwxr-x 3 MGR.IX IX 240 May 23 10:59 ..
> -rwxrwxr-x 1 MGR.IX IX 141711360 May 23 14:24
> enhydra-src4_0_tar
>
> ****************************************************************************
> *********************************
>
> SITE133 MGR.IX /IX/ENHYDRA/v40b1>tar -xvopf enhydra-src4_0_tar
> tar: blocksize = 20
> x enhydra-src4.0/CVS/Root, 23 bytes, 1 tape block
> x enhydra-src4.0/CVS/Repository, 33 bytes, 1 tape block
> x enhydra-src4.0/CVS/Entries, 321 bytes, 1 tape block
> x enhydra-src4.0/CVS/Tag, 17 bytes, 1 tape block
> x enhydra-src4.0/Foundation/CVS/Root, 23 bytes, 1 tape block
>
> ...
>
> x
> enhydra-src4.0/Foundation/Boot/modules/Core/src/org/enhydra/classloader/Clas
> sNameEvaluator.java, 1469 bytes, 3 tape blocks
> x
> enhydra-src4.0/Foundation/Boot/modules/Core/src/org/enhydra/classloader/Enhy
> draClassLoader.java, 134830 bytes, 264 tape blocks
> ././@LongLink: Unknown file type field value `L'
> tar: cannot create file "././@LongLink": No such file or directory
> tar: checksum error on tape (got 0, expected 274a)
> SITE133 MGR.IX /IX/ENHYDRA/v40b1>
>
> *
> Joseph Whitlock
> The Boeing Company
> P.O. Box 3707
> Mail Code 6C-LU
> Seattle, WA. 98124
>
> Phone: 425-234-1478
> Email: [log in to unmask]
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
--
[log in to unmask]
Remainder of .sig suppressed to conserve scarce California electrons...
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|