Hi Thomas,
Am 02.06.2010 um 13:54 schrieb Thomas Schmitt:
I'll probably be heavily occupied the entire month of June
That will give me more time to find solutions.
I'd prefer a general-purpose SCSI/MMC way to
do this on Solaris such as by iterating over
the collection of SCSI devices.
It seems that
/dev/[r]dsk/c*t*d0s2
provides a superset of such an enumeration.
...
I wrote an (unfinished) cd access library a long time ago and used
error = di_walk_minor( rootnode, DDI_NT_CD_CHAN, 0, &result,
&devtToNodepathCallback );
to find cd/dvd drives. di_walk_minor is a function from
libdevinfo(3lib) where
di_walk_minor(3devinfo) is used to select all nodes with a minor
device nodetype of
DDI_NT_CD_CHAN which happens to be exactly the wanted devices.
Just let me know if you need further info on this.
Best regards
-- Dago