Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Maximum path length
@ 2004-08-17 10:33 steve
  2004-08-17 15:20 ` Adam Price
  0 siblings, 1 reply; 3+ messages in thread
From: steve @ 2004-08-17 10:33 UTC (permalink / raw)


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 




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Maximum path length
  2004-08-17 10:33 Maximum path length steve
@ 2004-08-17 15:20 ` Adam Price
  2004-08-17 15:28   ` steve
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Price @ 2004-08-17 15:20 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Maximum path length
  2004-08-17 15:20 ` Adam Price
@ 2004-08-17 15:28   ` steve
  0 siblings, 0 replies; 3+ messages in thread
From: steve @ 2004-08-17 15:28 UTC (permalink / raw)


Adam,

Thanks for that :-)

Steve

"Adam Price" <adam+usenet@pappnase.co.uk> 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 




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-17 15:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-17 10:33 Maximum path length steve
2004-08-17 15:20 ` Adam Price
2004-08-17 15:28   ` steve

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