Operating System - HP-UX
1838576 Members
4097 Online
110128 Solutions
New Discussion

How to mount disk with DOS long names fo UNIX?

 
Marcin_24
New Member

How to mount disk with DOS long names fo UNIX?

Hello.
How it mount CD-ROM with long names in files to unix?
I burned CD with files with long names and when watch it in dos it is correct but when mounted to unix it cuts the names of scripts from long to short with numbered suffix...
12 REPLIES 12
Jeff Schussele
Honored Contributor

Re: How to mount disk with DOS long names fo UNIX?

Use the mount command as follows:

mount -F cdfs -o cdcase /dev/dsk/cXtYdZ /mnt_point

Of course use the appropriate disk device & mount directory.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Arunvijai_4
Honored Contributor

Re: How to mount disk with DOS long names fo UNIX?

# nohup /usr/sbin/pfs_mountd&
# nohup /usr/sbin/pfsd &
# mount -F cdfs -o rr /dev/dsk/c0t0d0 /cd

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Marcin_9
Frequent Advisor

Re: How to mount disk with DOS long names fo UNIX?

but it is still short for instance
my_0001.sh instead of my_script_check.sh
Marcin_9
Frequent Advisor

Re: How to mount disk with DOS long names fo UNIX?

an this
mount -F cdfs -o rr /dev/dsk/c0t0d0 /cd
says
mount: illegal file system specific option rr
usage: mount [-l][-v|-p]
mount [-F FStype][-eQ] -a
mount [-F FStype][-eQrV][-o specific_options]
{ special | directory }
mount [-F FStype][-eQrV][-o specific_options]
special directory
James R. Ferguson
Acclaimed Contributor

Re: How to mount disk with DOS long names fo UNIX?

Hi Marcin:

Based on the STDERR from your 'mount' you don't have the patches required for using the new(er) style mount options.

You could post-up your release level and then we can tell you what patches you need. Otherwise, you could try the old (dreadful!) 'pfs_mount' since as I recall, installation of the patches to support the new mount options requires a reboot.

Regards!

...JRF...
Marcin_9
Frequent Advisor

Re: How to mount disk with DOS long names fo UNIX?

Hi.
I can install patches and reboot no problem - as it is test machine. My current system is December 2002.
James R. Ferguson
Acclaimed Contributor

Re: How to mount disk with DOS long names fo UNIX?

Hi (again) Marcin:

I'm going to assume then that your system is 11.11. In that case you need:

PHCO_25841
PHKL_25760
PHKL_26269
PHKL_32035

Regards!

...JRF...
Torsten.
Acclaimed Contributor

Re: How to mount disk with DOS long names fo UNIX?

The "mount -o rr -F cdfs .." works just fine, if the system is patched.

You may also use

#pfs_mountd&

#pfsd&

#pfs_mount -o xlat=unix /dev/dsk/cxtydz /

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
V. Nyga
Honored Contributor

Re: How to mount disk with DOS long names fo UNIX?

Hi,

how did you create the CD? With Joliet or ISO format? Only ISO9660 will work.

For the most files this will work together with RockRidge - for special files like '.login' you can read my own thread where I made my experience with this problem

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=70917

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Marcin_9
Frequent Advisor

Re: How to mount disk with DOS long names fo UNIX?

Yes hats ok... I had to burn it differently... Now its ok..
Marcin_9
Frequent Advisor

Re: How to mount disk with DOS long names fo UNIX?

Thank you very much... for answers. I examined them all.
It appear that burning process is the case.
Unfortunately I lost my previous login and can't assign points this time... Sorry again
Jan van den Ende
Honored Contributor

Re: How to mount disk with DOS long names fo UNIX?

Marcin,

your inlog ID = BR894701 (from your original posting).
If you lost that ID 's password, reuest a new one.
HP will send it to the email address you gave when setting up that account.

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.