devfs
[Top] [All Lists]

Re: SCSI emulation?

To: "Joan Picanyol i Puig" <joan@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: SCSI emulation?
From: "Chris Hamilton" <chris@xxxxxxxxxx>
Date: Sun, 25 Mar 2001 03:04:34 +0800
Cc: devfs@xxxxxxxxxxx
References: <Pine.LNX.4.20L2.0103221408450.3630-100000@iaeste-catalunya.upc.es> <20010324122654.A1395@hobbes.d.umn.edu>
Sender: owner-devfs@xxxxxxxxxxx
CD-RWs will not be in the /dev/cdroms for CD-RW write access only as a
regular CD-ROM. Write access is still through the generic scsi driver which
can be found by following your devices connection paths through /dev/scsi.
It would be something like /dev/scsi/host0/bus0/target0/lun0/generic if the
CD-RW was on your first host card, first bus, and the first scsi id. If your
CD-RW is really a scsi, it shouldn't matter about emulation compatibilities.
I personally haven't seen an IDE CD-RW on devfs, but I would assume that
once scsi emulation was configured it would be found inside the /dev/ide
tree similar to /dev/scsi.

For cdrecord for example, to burn a cd you just call:
cdrecord dev=/dev/scsi/host0/bus0/target0/lun0/generic  speed=[whatever]
isoimage

Of course most burning programs have a config file that you can set the
default device to once you have located it and that would be the recommended
solution.

Chris Hamilton
rocklinux

----- Original Message -----
From: "Brian Bock" <bbock@xxxxxxxxxxxxxxxxxxxxxxxx>
To: "Joan Picanyol i Puig" <joan@xxxxxxxxxxxxxxxxxxxxxxx>
Cc: <devfs@xxxxxxxxxxx>
Sent: Sunday, March 25, 2001 2:26 AM
Subject: Re: SCSI emulation?


> * Joan Picanyol i Puig (joan@xxxxxxxxxxxxxxxxxxxxxxx) [010322 07:30]:
> > Hi,
> >
> > Here's what I'm trying to accomplish:
> >
> > I have a SCSI CD-RW drive, and an ATAPI CD-ROM drive. The CD-recording
software
> > uses SCSI emulation for ATAPI devices, and I had it set up using the
normal /dev
> > tree. However, I cannot get it to work under devfs.
> >
> > I really don't know where to start. Any hints?
> >
> > Thks
>
> The cdroms should show up under /dev/cdroms if you're running devfsd.
> Also, they should be availiable in the /dev/scsi/ heirarchy.
>
> --Brian Bock
> pluribusunum@xxxxxxxxxxxxxx
>



<Prev in Thread] Current Thread [Next in Thread>