Re: cdrom

From: DoN. Nichols (dnichols_at_d-and-d.com)
Date: 03/25/05


Date: 24 Mar 2005 21:25:49 -0500

In article <pan.2005.03.25.01.29.48.872290@spamgmail.com>,
Shane (aka froggy) <spamspamuber.l33t.god@spamgmail.com> wrote:
>Whilst Im in the habit of asking,
>how in the wild wild world of sports do I find the cdrom drive?
>(er I mean from within the OS)

        You don't mention your hardware platform.

>I wanted to mount cd's locally, instead I had to mount them on a remote
>machine and ftp the data.
>Its a workaround but not what I want

        Did you "man mount" and then search for "cdrom" in the man page?
I just did (on a pentium box -- a Shuttle SS51G FWIW) and this is what I
find:

        mount -t cd9660 -r /dev/cd0a /mnt/cdrom

(Obviously for a hsfs filesystem, not a unix file system.)
and -- for an addition to /etc/fstab, this should suffice:

        /dev/cd0a /mnt/cdrom cd9660 ro,nodev,nosuid 0 0

and, at least on my system, "/mnt/cdrom" already exists as a mount point.
The same syntax works on OpenBSD 3.4 on a Sun SS-5, so it will probably
work on most hardware platforms.

>I had a look through dmesg and couldnt work out if the cdrom had had a
>driver associated with it

        In my Intel based 3.5 system, here it is in the dmesg:

 ======================================================================
cd0 at scsibus0 targ 0 lun 0: <TOSHIBA, CD-ROM XM-5502TA, 0206> SCSI0 5/cdrom re movable
cd0(pciide0:1:0): using PIO mode 2
 ======================================================================

and here in an Ultra-1/140:

 ======================================================================
cd0 at scsibus0 targ 6 lun 0: <CyberDrv, SCSI CD-ROM 120S, 1.30> SCSI2 5/cdrom removable
 ======================================================================

>Any ideas?

        I think that what I have above should suffice, unless your
system did not recognize the drive when it installed.

        Good Luck,
                DoN.

-- 
 Email:   <dnichols@d-and-d.com>   | Voice (all times): (703) 938-4564
	(too) near Washington D.C. | http://www.d-and-d.com/dnichols/DoN.html
           --- Black Holes are where God is dividing by zero ---


Relevant Pages

  • cdrom
    ... Whilst Im in the habit of asking, ... how in the wild wild world of sports do I find the cdrom drive? ... I wanted to mount cd's locally, instead I had to mount them on a remote ...
    (comp.unix.bsd.openbsd.misc)
  • Re: cdrom
    ... >> Whilst Im in the habit of asking, ... >> how in the wild wild world of sports do I find the cdrom drive? ... The parts of a computer system that can be kicked ...
    (comp.unix.bsd.openbsd.misc)