HOW TO MOUNT CDROMS UNDER UNIX

 

So you’ve just come back from (X)-frame release party, your groggy, and your mind is regurgitating all sorts of foreign languages, someone’s mouth is farting all kinds of quackintosh about how apples can talk to one another, and to top it off you find yourself in a place called High Wycombe. Just then a email comes beeping into Outlook, subject line "Local Devices not checked on (X)-frame" with high priority set on it. All of the sudden you realize you have lost your idenity because you can’t remember how to mount that CD on your legacy system. You wonder is this a conspiracy to complicate things or indeed has MicroSoft shrink wrapped our brains, your about to run to the hills when you remember- hey READ the FAQ!

 

Mount the CD-ROM manually by typing:

mkdir /cdrom

mount –t cdfs –o noversion /dev/device /cdrom

where device is the CD-ROM device name, which will be configuration dependant. A typical CD-ROM device name is rz4c.

Mount the CD-ROM manually by typing:

mkdir /cdrom

mount –r –t cdrfs /dev/device /cdrom (HP-UX 10.20?)

mount –o ro –r –F cdfs /dev/device /cdrom (HP-UX 11 & 11.11 (11i))

where the device is the CD-ROM device name which will depend on the SCSI address; for example, dsk/c201d0s0 for SCSI address 0. If you do not know you CD-ROM device name, type

ioscan -funC disk

or use sam to mount it instead (refer to the HP manual for sam)

Alternatively

pfs_mountd&

pfsd&

pfs_mount /dev/dsk/c3t2d0 /cdrom

pfs_umount /cdrom

If you are running vold ( Solaris 2.2 or later ), the CD-ROM will mount automatically as /cdrom. If the CD-ROM does not mount, mount it manually by typing:

SunOS ( Solaris 1.1.1/1.1.2 ):

mount –r –t hsfs /dev/device /cdrom

Solaris 2.3/2.4:

mount –r –F cdrfs /dev/device /cdrom

where device will normally be sr0.

Mount the CD-ROM by typing:

mount –v cdrfs –r /dev/cd0 directory

where directory is the mount directory. For example:

mount –v cdrfs –r /dev/cd0 /cdrom

You may get the following warning: mount: warning: the permissions on directory are incompatible with the permissions in the root directory of /dev/cd0

This is not an error and can be ignored.