Operating System - HP-UX
1827109 Members
3646 Online
109714 Solutions
New Discussion

CD not displaying correct long filenames on HP-UX

 
SOLVED
Go to solution
Edgar Arroyo
Regular Advisor

CD not displaying correct long filenames on HP-UX

How can I get my HP-UX to display the correct filenames? I burned a CD and it won't show properly when I mount and I request a directory of the cd.
15 REPLIES 15
melvyn burnard
Honored Contributor
Solution

Re: CD not displaying correct long filenames on HP-UX

you have either burnt the CD incorrectly (possibly wrong package used to create it) or you are not mounting it correctly
You may need to use pfs_mount (if the relevant HP-UX patches are NOT installed) or use mount (1m) with the corect options if the relevant patches are installed
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Edgar Arroyo
Regular Advisor

Re: CD not displaying correct long filenames on HP-UX

I forgot to mention that I burned this on windows xp.
Dan Martin_1
Frequent Advisor

Re: CD not displaying correct long filenames on HP-UX

Try:

mount -o cdfs
Edgar Arroyo
Regular Advisor

Re: CD not displaying correct long filenames on HP-UX

you mean:

mount -F cdfs /dev/dsk/c0t0d0 /cdrom

I tried that already.. I tried the -o cdfs just for fun and it gave me error.

Re: CD not displaying correct long filenames on HP-UX

hi

try with option cdcase
Edgar Arroyo
Regular Advisor

Re: CD not displaying correct long filenames on HP-UX

None worked...

I managed to install Samba 1.9.18p8 on the HP-UX 10.20 but I need to know how to access a Windows Share from it.

I saw the flie smbclinet but I don't know how to make it a "folder" do I have to mount it on the unix machine? It only works kinda like an FTP client...
Edgar Arroyo
Regular Advisor

Re: CD not displaying correct long filenames on HP-UX

Got it to work...

Installed Sharity 2.9, everything working smooth... /CIFS is my "network neighborhood"
Eric Antunes
Honored Contributor

Re: CD not displaying correct long filenames on HP-UX

Try this:

1) See if you have something like this in your /etc/pfs_fstab:

pfs-rrip xlat=unix 0 0

Ex.: /dev/dsk/c3t2d0 /SD_CDROM pfs-rrip xlat=unix 0 0

2) nohup /usr/sbin/pfs_mountd &

3) nohup /usr/sbin/pfsd &

4) Insert CD-ROM into the tray a run the following: /usr/sbin/pfs_mount
Each and every day is a good day to learn.
Edgar Arroyo
Regular Advisor

Re: CD not displaying correct long filenames on HP-UX

I get these messages:

[/@unix1] # nohup /usr/sbin/pfs_mountd &
Sending output to nohup.out
[1] 2494
[/@unix1] # nohup /usr/sbin/pfsd &
[2] 2496
[/@unix1] # Sending output to nohup.out
/usr/sbin/pfs_mount /cdrom
/usr/sbin/pfs_mount: /dev/dsk/c0t0d0 on /cdrom: not rrip.
/usr/sbin/pfs_mount: giving up on /cdrom
[/@unix1] #
Bharat Katkar
Honored Contributor

Re: CD not displaying correct long filenames on HP-UX

Edger,
do this things ( if you have already tried one forget it )

# ioscan -fnC disk

See the output carefully and locate your CDROM device correctly. Say it is cxtxdx

# mount /dev/dsk/cxtxdx /cdrom

That is the simple way and it works for me always provided CD has valid data.

Regards,
You need to know a lot to actually know how little you know
Edgar Arroyo
Regular Advisor

Re: CD not displaying correct long filenames on HP-UX

Hi, my problem is not mounting it, it's that it shows some funky names (8+3 format) and I checked and supposedly HP-UX does not support Joliet which is what I used when burning the CD (only option on Win XP prog. I have)
Eric Antunes
Honored Contributor

Re: CD not displaying correct long filenames on HP-UX

Try puting another CD and try again "/usr/sbin/pfs_mount " because I think it may be the CD that is unrecognizable for HP-UX...
Each and every day is a good day to learn.
Eric Antunes
Honored Contributor

Re: CD not displaying correct long filenames on HP-UX

When you get "not rrip." it's because it is not a recognizable CD for UX.
Each and every day is a good day to learn.
Joseph Loo
Honored Contributor

Re: CD not displaying correct long filenames on HP-UX

hi,

try this using pfs_mount:

1. create file, /etc/pfs_fstab
2. add entry to /etc/pfs_fstab
# "device name" /cdrom pfs-rrip xlat=unix 0 0
3. run pfs daemon at the background
# nohup /usr/sbin/pfs_mountd &
# nohup /usr/sbin/pfsd &
4. start nfs server
# /sbin/init.d/nfs.server start
5. mount and unmount file system
# pfs_mount /cdrom
# pfs_umount /cdrom
6. create the directory structure of the staging system
7. copy from CD or DVD to file system
# cp -r /cdrom/* .

hope it help.

regards.
what you do not see does not mean you should not believe
V. Nyga
Honored Contributor

Re: CD not displaying correct long filenames on HP-UX

Hi Edgar,

you're right, you can't use Joliet!
You need ISO9660 when burning the CD.

Check my thread for more infos:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=70917

HTH
Volkmar
*** Say 'Thanks' with Kudos ***