libcdio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-devel] Re: libcdio-0.83git on Solaris snv134 sees no drives


From: Dagobert Michelsen
Subject: Re: [Libcdio-devel] Re: libcdio-0.83git on Solaris snv134 sees no drives
Date: Wed, 2 Jun 2010 14:11:56 +0200

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]