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:
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.mediad -o ro -ip /dev/scsi/sc0d410 /CDROM