Next | Prev | Up | Top | Contents | Index

CD-ROM Filesystems

mediad monitors CD-ROM drives, waiting for a CD-ROM to be inserted. When a CD-ROM is inserted, the filesystem it contains is mounted if the filesystem is in EFS, HFS, ISO 9660, or High Sierra format. If your system is running the objectserver, CD-ROM drives are monitored automatically. When a CD-ROM containing a valid filesystem is inserted, it is automatically mounted on /CDROM (for the first CD-ROM drive), and /CDROM2, /CDROM3, and so on for additional drives.

If you are not running the objectserver when you invoke mediad, you must give instructions for the SCSI device to be monitored and a location to mount the CD-ROM filesystem. You must also have created the mount point and ensured that the directory permissions are set appropriately (755 is usually adequate for read-only filesystems). For example, if you are not running the objectserver and you wish to start mediad for a CD-ROM drive with SCSI identifier 4 and the mount point /CDROM with the mount option ro (for read-only), issue this command:

mediad -o ro -ip /dev/scsi/sc0d410 /CDROM

Note that CD-ROM filesystems are always read-only. When you are finished using the filesystem, issue the eject command, and mediad will attempt to unmount the filesystem. If the unmount is successful, it ejects the CD-ROM. When mediad is running, however, any user can unmount and eject a CD-ROM with the eject command.


Next | Prev | Up | Top | Contents | Index