Operating System - HP-UX
1843992 Members
2153 Online
110226 Solutions
New Discussion

Problem with pack command on Itanium

 
Arnold Schlusberg
New Member

Problem with pack command on Itanium

There appears to be an issue with the old pack command on Itanium processors. If the length of the string containing the path to the file being packed exceeds a certain value, the pack command fails. What happens is the an empty *.z file is created. And the following error is produced: opendir: : No such file or directory.

I have played around with trying various path strings. Not counting the file name itself and the preceeding slash the magic number appears to be 32. It fails when the path exceeds 32 (again not counting the last slash and the file name).
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Problem with pack command on Itanium

Shalom,

Search the http://itrc.hp.com patch database for patches containing the command pack

Try compress
try gzip

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: Problem with pack command on Itanium

The buffer for the name is limited to 80 bytes. There have been no changes in this for years.