Thomas Schmitt wrote:
Hi,
Bill Davidsen:
Dumb question, why do you not look at the nice list of CD devices provided
...
/proc/sys/dev/cdrom/info
I'm going to cautiously say that this file, intended for humans but can
be parsed, seems to handle anything up to a mix of IDE, "real" SCSI, and
USB, and tells you what the kernel thinks of them. That may be more
important than the truth, if a device says it can support feature X, but
the kernel doesn't agree, I would not expect that feature to work reliably.
Actually i was using the nice list of CD device files
which is provided according to the SCSI Howto but has
been deprecated by Documentation/devices.txt
whereas Documentation/scsi/scsi.txt still refers to the
SCSI Howto.
/proc is an interesting thing. But where is it documented ?
On what feature in /proc can i rely ?
/proc/scsi/sg/devices once gave me hints about the activities
of my drives. Not any more. :(
I will begin to collect /proc addresses about CD drives.
Maybe one can develop a kindof expert system from that list.
This has been around forever, I see it on an old box running RH8
(2.4.18) as well as a modern dual-core running a recent -rc kernel.
Thought it might be useful to tell you what the kernel would let you see
and use.
--
Bill Davidsen <[EMAIL PROTECTED]>
"Woe unto the statesman who makes war without a reason that will still
be valid when the war is over..." Otto von Bismark
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]