1828359 Members
3186 Online
109976 Solutions
New Discussion

Re: CDROM label

 
Don Doyle
Occasional Contributor

CDROM label

I'm new to VMS and was wondering how you write a label on a CD?

I see expamples of the mount command all over the place but nothing telling you how the label gets defined.
4 REPLIES 4
John Gillings
Honored Contributor

Re: CDROM label

Don,

Not sure if I understand your question.

If you're asking how to write a label to an existing CD-ROM, then you can't! ROM means "Read Only Memory" ;-) The label is whatever was assigned by the author (but you knew that, right?)

On OpenVMS you can define a logical name to refer to a mounted device, so to mount a CD with volume label "ORIGINAL" but refer to it as "MYCD" use:

$ MOUNT/MEDIA=CDROM $1$DKA1 ORIGNAL MYCD

You can now access the CD using your logical name:

$ DIRECTORY MYCD:[000000]

If you're creating a CD, you typically stage the contents on a RAM or LD disk. The label gets defined when you INITIALIZE the container device. You then use CDRECORD to copy the container file to the CD-RW drive to burn the disk.
A crucible of informative mistakes
Mrityunjoy Kundu
Frequent Advisor

Re: CDROM label

DON,

You can not chnge the label of a CDROM because it is read only.You cn mount cdrom by
$mount/media_format=cdrom

Bojan Nemec
Honored Contributor

Re: CDROM label

Don,

Probably your qustion is:
How can I mount a CD if I do not know the label?

Try with:

$ MOUNT /OVERRIDE=IDENTIFICATION dev:

Bojan
John Travell
Valued Contributor

Re: CDROM label

The only answer that works... With a pen :-)
Usually one of those special CD marker pens.
(duck and run for cover)
JT: