Normally the first scsi cdrom is at /dev/scd0. /dev/sg is for all scsi 
device, without make the difference between type of device, it can be 
scanner, hd, ect...

Le Mardi 26 Mars 2002 01:54, Stew Benedict a écrit :
> On Mon, 25 Mar 2002, Henrique Helder wrote:
> > >You can see if the kernel saw the CDROM with:
> > >
> > >dmesg | grep hdc (is it hdc on these machines?)
> > >
> > >On my Lombard:
> > >
> > >[root@powerbook-cooker templates]# ls -l /dev/cdrom
> > >lr-xr-xr-x    1 root     root           13 Mar 25 03:18 /dev/cdrom ->
> > >cdroms/cdrom0
> >
> > This is what i got:
> >
> > [root@hilands root]# dmesg | grep hdc
> > Kernel command line: root=/dev/hda5 ro hdc=ide-scsi devfs=mount
> > ide_setup: hdc=ide-scsi
> > hdc: MATSHITACD-RW CW-8121, ATAPI CD/DVD-ROM drive
> > hdc: Enabling MultiWord DMA 2
>
> ide-scsi is going to probably put the dev at /dev/sgX, rather than hdc
>
> removing and adding mesh on my system, with an external CDR:
>
> scsi0 : MESH
> mesh: target 6 synchronous at 5.0 MB/s
>   Vendor: MATSHITA  Model: CD-R   CW-7503    Rev: 1.06
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> Attached scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0
> sr0: scsi3-mmc drive: 20x/20x writer cd/rw xa/form2 cdda tray
> [root@powerbook-cooker root]# ls -l /dev/sg0
> lr-xr-xr-x    1 root     root           36 Mar 25 19:52 /dev/sg0 ->
> scsi/host0/bus0/target6/lun0/generic
>
> HTH,
> Stew Benedict

-- 
Linux pour Mac !? Enfin le moyen de transformer
une pomme en véritable ordinateur. - JL.
Olivier Thauvin - http://nanardon.homelinux.org/

Reply via email to