[Gambas-user] output to save

Rob sourceforge-raindog2 at ...94...
Thu Sep 9 15:48:11 CEST 2004


On Thursday 09 September 2004 09:23, scatman wrote:
> How can i read the Speed from a CD-ROM Drive?

My suggestion would be to look at the man pages for cdrecord 
and/or cdrdao, and shell out to one of those using the 
appropriate options and parse the output to find the maximum 
speed supported.  You can probably get it by opening the device 
file or something in proc directly and parsing it out, but this 
is unix, you can open programs on pipes and you should do so ;)

Rob





More information about the User mailing list