1838671 Members
5118 Online
110128 Solutions
New Discussion

file handling problem

 
amipankaj
Frequent Advisor

file handling problem

hello experts,

I have one following file in DVD. i want to copy it to /opt filesystem but unable to do so..

-r-xr-xr-x 1 -1 -1 678332185 Jun 4 16:21 HPUX__11_11_06040835.ZIP;1

the name of the file not found by system while ls -altr command show following out put.

total 1324888
-r-xr-xr-x 1 -1 -1 678332185 Jun 4 16:21 HPUX__11_11_06040835.ZIP;1
dr-xr-xr-x 1 -1 -1 2048 Jun 9 08:49 .
drwxr-xr-x 43 root root 8192 Jun 17 16:25 ..


please late me know how to handle such kind of files.

thanks,
Roy
5 REPLIES 5
Rajeev  Shukla
Honored Contributor

Re: file handling problem

Hi Roy,

You have mounted the DVD using the normal mount option and therefore cant see the contents properly. You need to mount the DVD using the pfs_mount option after which you will be able to copy the file across.
Have a look at the man pages of pfs_mount.
Run pfs_mountd and pfsd in nohup first.
Dennis Handly
Acclaimed Contributor

Re: file handling problem

You have mounted it wrong. But if you don't care, you can just do:
cp "HPUX__11_11_06040835.ZIP;1" /opt/HPUX__11_11_06040835.zip

See these threads about mounting:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1210136
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1209082
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1195974
Dennis Handly
Acclaimed Contributor

Re: file handling problem

>Rajeev: Run pfs_mountd

I believe the forum consensus is don't even think of using pfs_mountd.
amipankaj
Frequent Advisor

Re: file handling problem

Thank you very much guys, the issue is resolved now...but new issue is created....i am unable to unzip the file as we dont have unzip command installed on the system....thanks again.
Dennis Handly
Acclaimed Contributor

Re: file handling problem

>we dont have unzip command

Have you tried gunzip? It says it handles only one file in a .zip file.