Operating System - HP-UX
1834987 Members
2096 Online
110073 Solutions
New Discussion

Re: Incorrect file extensions listed after proper CDROM mounting

 
Patrick Holley_1
New Member

Incorrect file extensions listed after proper CDROM mounting

My company is installing access control software on a client machine running hpux 11.00. After a) following the mounting instructions within the product documentation and b) following instructions offered by the vendor itself, we are still faced with the following problem: The files listed on the CDROM appear with the wrong extension. We executed the pfs_mount and pfsd commands properly, which allowed us to 'cat' the associated docs, but the OS still did not recognize the FULL extension of the archived files (install files, patches, etc.).

The files appear as {filename}.tar files, while they SHOULD appear as {filename}.tar.Z files. Even after physically renaming the files with the appropriate extension, the installation process was halted due to archive recognition problems. How can we convince the OS to properly see these files? Is this a mounting problem, or does it extend further?
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: Incorrect file extensions listed after proper CDROM mounting

If the '.Z' is not showing up after mounting, I would say that there is probably a problem with the way the CD was created. A couple of things to try:

1) Are the files in fact compressed? Copy one file to /tmp, rename it as file.tar.Z and then try to uncompress it. Does it work? If so the file was compressed and not named right, if not, it isn't compressed.

2) Try doing a 'tar -tvf /cdrom/file.tar' and see if that is successful. If it is, then the files aren't commpressed, if it fails, then they probably are compressed just named incorrectly.

Based on these results you can go back to the vendor and see what they have to say.
MANOJ SRIVASTAVA
Honored Contributor

Re: Incorrect file extensions listed after proper CDROM mounting

Hi Patrick

try this

/usr/sbin/pfsd &
/usr/sbin/pfs_mountd &
pfs_mount -x lower_case -x no_version /dev/dsk/cXtYdZ /SD_CDROM

to get the lower case and no version extensions.

Manoj Srivastava
boley janowski
Trusted Contributor

Re: Incorrect file extensions listed after proper CDROM mounting

it sounds like maybe the installation script that is being used maybe were your problem is, can you copy the tar files over to a tmp dir and try to run compress *.tar, or copy the install script over to tmp and vi it, look for where the files are being called and maybe comment out the uncompress line so that it only trys to handle the tar files. these are only some suggestions to get around the problem your having but if its a new product, it might be a good idea to call the vendor and have them clairify the instructions or offer assistance to get around the problem simular to what i suggested.
Thierry Poels_1
Honored Contributor

Re: Incorrect file extensions listed after proper CDROM mounting

Hi,
I think Patrick & Boley are right. I can't imagine any mount option to remove a .Z-extension.
Best indications of a bad CD mount are:
- all filenames in capitals
- filename ending in ";1"
- unreadble CD ;)
regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.