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!news1.google.com!news.glorb.com!newspeer1.stngva01.us.to.verio.net!verio!newsfeed.icl.net!newsfeed.fjserv.net!easynet-quince!easynet.net!feed4.jnfs.ja.net!feed2.jnfs.ja.net!jnfs.ja.net!newsgateway.nottingham.ac.uk!news.nottingham.ac.uk!not-for-mail From: "steve" Newsgroups: comp.unix.tru64 Subject: Re: Maximum path length Date: Tue, 17 Aug 2004 16:28:31 +0100 Organization: The University of Nottingham (http://www.nottingham.ac.uk/) Message-ID: References: NNTP-Posting-Host: eexscgpc.eee.nott.ac.uk X-Trace: oyez.ccc.nottingham.ac.uk 1092756513 16495 128.243.72.17 (17 Aug 2004 15:28:33 GMT) X-Complaints-To: usenet@news.nottingham.ac.uk NNTP-Posting-Date: 17 Aug 2004 15:28:33 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2149 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2149 Xref: g2news1.google.com comp.unix.tru64:261 Adam, Thanks for that :-) Steve "Adam Price" wrote in message news:x6mewf743hf9$.dlg@pappnase.co.uk... > 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