From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,6cdab5e12b179c56 X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Adam Price Newsgroups: comp.unix.tru64 Subject: Re: Maximum path length Date: Tue, 17 Aug 2004 16:20:22 +0100 Message-ID: References: Reply-To: adam+usenet@pappnase.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 0SJIkj08uNSjLdZ/4Nu1FQ8hwDtFX/GAPtJC7gREfw1zd1p0Ff User-Agent: 40tude_Dialog/2.0.12.1 Xref: g2news1.google.com comp.unix.tru64:260 On Tue, 17 Aug 2004 11:33:02 +0100, steve wrote: > Hi, > > Is there a maximum path length for Tru64 5.1b? I recently lost a hard drive > (on a machine running HPUX) and had the data recovered and returned as cpio > files. I recovered these files to one of my Tru64 machines (the HPUX machine > having been scrapped). I cannot access folders that have quite long paths > and those folders I can access with long paths are empty.... > > Thanks > > Steve There is a limit in the Tru64 cpio command. >From the 5.1b man page [1] - "Pathnames cannot exceed 128 bytes". There are also some limits in the file format itself (From the gnu cpio man page... [2]) " The `cpio' archive formats, like `tar', do have maximum pathname lengths. The binary and old ASCII formats have a max path length of 256, and the new ASCII and CRC ASCII formats have a max path length of 1024. GNU `cpio' can read and write archives with arbitrary pathname lengths, but other `cpio' implementations may crash unexplainedly trying to read them. " So you could try using gnu cpio to extract your cpio archive, but if the archive wasn't created with a suitable tool you may be out of luck. Hope this helps Adam [1]http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN1/0570____.HTM [2]http://www-es.fernuni-hagen.de/cgi-bin/info2html?(tar)cpio