Q19: How can I access the CD-ROM drive from SoftWindows?

All access to removable media under Indigo Magic is controlled by the media daemon (mediad). This presents a problem for SoftWindows as it does not have exclusive access to the drive.

There are two ways to access the CD-ROM drive from SoftWindows.

Disabling mediad
This is the official way Insignia recommends for using the CD-ROM drive from SoftWindows. Using this method provides the most compatible access to the drive from Windows. The drive will be used exactly as CD-ROM would be used under MS-DOS or Windows.

To access the drive do the following:

  1. Disable mediad by either:
    • Killing mediad by issuing a "mediad -k" command as root. (This will cause all access to removable media to stop working). To restart mediad simply enter the command "mediad" as root. OR
    • Remove the drive from the mediad monitor list using the following command:
          % su
          # mediad -ir /dev/scsi/sc0d410
      

      Note: The 4 represents the SCSI id of the drive, this is correct for the INDY but might be different for other configurations. Use the Disk Manager from the Indigo Magic Desktop to verify the SCSI id of your CD-ROM drive.

      This will affect desktop access to the drive from Indigo Magic. To reverse this do the following:

          % su
          # mediad -o mon=on -ip /dev/scsi/sc0d410 /CDROM
      
      
  2. Choose the "Disk Drives->Open Drive..." from the SoftWindows "Options" menu.
  3. Type the device name "/dev/rdsk/dks0d4vol" in the box adjacent to "CD-ROM Device File Name".

    Note: This device name is different from the one used to control mediad. The SCSI device number will be the same.

  4. Enter the command "USECD" at the MS-DOS prompt before starting Windows. This can be added to your autoexec.bat file for convenience.

The CD-ROM drive will now be accessible as drive I:

Using mediad
This is an undocumented method. It has an advantage in that you do not need to reconfigure the media daemon in anyway. However, it does cause the CD-ROM drive to appear as a network volume to Windows applications. This could present a problem.

To use this method, do the following:
  1. Choose the "Disk Drives->Open Drive..." from the SoftWindows "Options" menu.
  2. Type "/CDROM" in the box adjacent to "FSA Root Directory Name..."

The CD-ROM drive will now be accessible as drive L:

If you haven't found the information you require follow this link.

Pointers to related documents

Why can't I format a floppy disk under Windows?
Why doesn't my floppy drive work since I started using SoftWindows?