Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Adam Price <adam+usenet@pappnase.co.uk>
Subject: Re: Maximum path length
Date: Tue, 17 Aug 2004 16:20:22 +0100	[thread overview]
Message-ID: <x6mewf743hf9$.dlg@pappnase.co.uk> (raw)
In-Reply-To: cfsmsv$t6d$1@oyez.ccc.nottingham.ac.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


  reply	other threads:[~2004-08-17 15:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-17 10:33 Maximum path length steve
2004-08-17 15:20 ` Adam Price [this message]
2004-08-17 15:28   ` steve
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox