sr1 sg1 what's in the name?
my cdrom points to sr1, is scsi, shouldn't it point to sg1 and what is the difference between the two? piet
PR wrote:
my cdrom points to sr1, is scsi, shouldn't it point to sg1 and what is the difference between the two? piet
As per /usr/src/linux/Documentation/devices.txt, sr1 is the second cd rom device and sg1 is the second generic scsi device. Mark
Mark Hounschell wrote:
PR wrote:
my cdrom points to sr1, is scsi, shouldn't it point to sg1 and what is the difference between the two? piet
As per /usr/src/linux/Documentation/devices.txt, sr1 is the second cd rom device and sg1 is the second generic scsi device.
Make that: sr1 is the second SCSI cd rom device.
Mark
how do I get similar settings: writer: sg0 instead of sr1 en reader: sr0 instead of sr1? piet Mark Hounschell wrote:
Mark Hounschell wrote:
PR wrote:
my cdrom points to sr1, is scsi, shouldn't it point to sg1 and what is the difference between the two? piet
As per /usr/src/linux/Documentation/devices.txt, sr1 is the second cd rom device and sg1 is the second generic scsi device.
Make that: sr1 is the second SCSI cd rom device.
Mark
PR wrote:
how do I get similar settings: writer: sg0 instead of sr1 en reader: sr0 instead of sr1? piet
You don't want sgx for any of them. You want sr0 for the first scsi id and sr1 for the next. Your question implies that bothe your reader and writer are sr1. That is not possible unless they are the same device. Tell us what configuration you have. Mark
Mark Hounschell wrote:
PR wrote:
how do I get similar settings: writer: sg0 instead of sr1 en reader: sr0 instead of sr1? piet
You don't want sgx for any of them. You want sr0 for the first scsi id and sr1 for the next. Your question implies that bothe your reader and writer are sr1. That is not possible unless they are the same device. Tell us what configuration you have.
Mark
appearantly it is possible: /dev/cdrom points to sr1 /dev/cdrom1 points to /dev/sr1 and at the time only my writer (plextor 4220rw ) is reacting on something like eject now from de docs I get the impression that the writer should be sg0 and the reader sr0 piet
PR wrote:
Mark Hounschell wrote:
PR wrote:
how do I get similar settings: writer: sg0 instead of sr1 en reader: sr0 instead of sr1? piet
You don't want sgx for any of them. You want sr0 for the first scsi id and sr1 for the next. Your question implies that bothe your reader and writer are sr1. That is not possible unless they are the same device. Tell us what configuration you have.
Mark
appearantly it is possible: /dev/cdrom points to sr1
/dev/cdrom1 points to /dev/sr1
Those are just links they don't mean anything more than they both point to a real device that is /dev/sr1. Your reader and writer are not both /dev/sr1. /dev/cdrom and /dev/cdrom1 are just links that make it convenient for you to get to /dev/sr"whatever". I'll ask once again what hardware config do you have. Are they REAL scsi devices. Are they IDE devices. What configuration are they in. "SCSI ids" etc....
and at the time only my writer (plextor 4220rw ) is reacting on something like eject now from de docs I get the impression that the writer should be sg0 and the reader sr0 piet
None of them should be sg they both should be sr. Mark
plextor 4220rw scsi (0.3.0.) plextor 40ts scsi on a adaptec 2930 (0.4.0)
Those are just links they don't mean anything more than they both point to a real device that is /dev/sr1. Your reader and writer are not both /dev/sr1. /dev/cdrom and /dev/cdrom1 are just links that make it convenient for you to get to /dev/sr"whatever". I'll ask once again what hardware config do you have. Are they REAL scsi devices. Are they IDE devices. What configuration are they in. "SCSI ids" etc....
and at the time only my writer (plextor 4220rw ) is reacting on something like eject now from de docs I get the impression that the writer should be sg0 and the reader sr0 piet
None of them should be sg they both should be sr.
Mark
PR wrote:
plextor 4220rw scsi (0.3.0.) plextor 40ts scsi on a adaptec 2930 (0.4.0)
Ok, the 4220rw is sr0 because it is scsi-id 3. The 40ts will be sr1. It's scsi id is 4. If you want /dev/cdrom to point to the reader then "rm /dev/cdrom" then "ln -s /dev/sr1 /dev/cdrom" Then to make /dev/cdrom1 point to the the writer do the same for /dev/cdrom1 but link it to /dev/sr0. Mark
thanks that worked, again thank you for being patient with me, now where should I have read this in the manual? piet Mark Hounschell wrote:
PR wrote:
plextor 4220rw scsi (0.3.0.) plextor 40ts scsi on a adaptec 2930 (0.4.0)
Ok, the 4220rw is sr0 because it is scsi-id 3. The 40ts will be sr1. It's scsi id is 4. If you want /dev/cdrom to point to the reader then "rm /dev/cdrom" then "ln -s /dev/sr1 /dev/cdrom" Then to make /dev/cdrom1 point to the the writer do the same for /dev/cdrom1 but link it to /dev/sr0.
Mark
participants (2)
-
Mark Hounschell
-
PR