Operating System - HP-UX
1832804 Members
3166 Online
110045 Solutions
New Discussion

Re: ;1 appended to CDROM file names

 
SOLVED
Go to solution
David Stucki
New Member

;1 appended to CDROM file names

When I generate a new cd on my PC, the contents of the CD appear to be normal on the PC. When I mount the new CD on any HP-UX system, all of the file names are converted to all-caps and have a ;1 appended at the end. Does anyone have a clue about how to format a "home made" CD to make HP-UX recognize the correct file names?

Thanks in advance,

Dave
The best way to keep from falling off a cliff is to stay as far away from the edge as possible.
7 REPLIES 7
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: ;1 appended to CDROM file names

add the option -o cdcase to your mount command. Man mount_cdfs for details.
If it ain't broke, I can fix that.
Christopher McCray_1
Honored Contributor

Re: ;1 appended to CDROM file names

Hello,

Use:

# mount -F cdfs -o cdcase /dev/dsk/c?t?d? /cdrom(or /SD_CDROM if doesn't exist)

Hope this helps

Chris
It wasn't me!!!!
MANOJ SRIVASTAVA
Honored Contributor

Re: ;1 appended to CDROM file names

Hi Dave


there are 2 ways to do it


1. mount -F cdfs -o cdcase /dev/dsk/c2t2d0 /cdrom


2. If pfs mount then

nohup pfs_mountd &
nohup pfsd &
pfs_mount -x no_version -x lower_case /dev/rdsk/c2t2d0 /cdrom


do a man on pfs_mount to get more options .



Manoj Srivastava
David Stucki
New Member

Re: ;1 appended to CDROM file names

Thanks for the quick response - the -o cdcase option worked. But that is a work around to the real problem: what kind of encoding does HP require on a CD for the contents to show correct case and no version numbers by default (like the HP distributed media)? I've never had to use -o on HP disks to see the correct names of the files on the disk?

Thanks again,

Dave
The best way to keep from falling off a cliff is to stay as far away from the edge as possible.
Steven E. Protter
Exalted Contributor

Re: ;1 appended to CDROM file names

One would think there are no standards with cd formats.

I have different mount commands for oracle cd's Software AG cd's and updates from my printspooler. These are also different from my hp media.

As you already know the strange filenames you saw are due to mounting options.

The only way to go is to check the doc that came with the cd or trial and error if thats not avaialbe.

If you want copies of my mount scripts, hit me with some email or something.

Steve
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
Christopher McCray_1
Honored Contributor

Re: ;1 appended to CDROM file names

Hello again,

Check out this doc, KBAN00000858:

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063197941

It should provide the answers you seek.

Chris
It wasn't me!!!!
Paul Sperry
Honored Contributor

Re: ;1 appended to CDROM file names

mount -F cdfs -o cdcase /dev/dsk/c1t2d0 /cdrom

OR

edit /etc/pfs_fstab
add a line like the following:

/dev/dsk/c5t2d0 /cdrom pfs-rrip xlat=unix 1 0

as root
nohup /usr/sbin/pfs_mountd &
nohup /usr/sbin/pfsd &
/usr/sbin/pfs_mount /cdrom