Subject: Re: I don'see where is my CDROM for mounting it?
To: Richard PLOIX <richard.ploix@fr.adp.com>
From: Brian Stark <bstark@siemens-psc.com>
List: netbsd-help
Date: 12/14/1999 10:39:05
On Tue, 14 Dec 1999, Richard PLOIX wrote:

> Perhaps, but how to configure it???
> please.

You first need to fix your problems with the SCSI controller. Then,
just make sure that have the device file (probably cd0) created in 
the /dev directory. You should be able to do something like this as
root:

  cd /dev
  ./MAKEDEV cd0

The next step would be to create an entry in your /etc/fstab file.
On my system, it looks like this:

  callisto:bstark$ cat /etc/fstab | grep cd
  /dev/cd0a       /cdrom          cd9660  ro,noauto 0 0
  callisto:bstark$ 

Then, create a /cdrom directory and run mount like this:

  callisto:{root}$ mount -v -r -t cd9660 /dev/cd0a /cdrom


If you are wondering what the messages at start up will look like once
your controller problem is fixed, here is what I see:

  callisto:bstark$ dmesg | grep cd
  cd0 at scsibus0 targ 2 lun 0: <PLEXTOR, CD-ROM PX-6XCS, 1.08> SCSI2 5/cdrom removable
  callisto:bstark$ 

Brian

-------------------------------------------------------------------------
| Brian Stark                       | Internet : bstark@siemens-psc.com |
| Siemens PT&D, Inc.                | Voice    : +1 612 536-4697        |
| Power Systems Control Division    | Fax      : +1 612 536-4919        |
| 7225 Northland Drive, Brooklyn Park, Minnesota 55428   USA            | 
-------------------------------------------------------------------------