Re: Autodetection of CD-ROM devices
On Fri, Dec 17, 1999 at 09:00:39PM +0100, Hartmut Koptein wrote:
> > Anyway, it's packaged as a standalone program so people can test it
> > and let me know if it fails to detect a CD-ROM it should, or detects
> > something wrongly.
> Compiles cleanly and is fuctional on powerpc:
> gcc -o detect-devices detect-devices.c
> CD-ROM: /dev/scd0
Doesn't seem to work on my i386 box...
balmeida@trantor [~]: gcc -o detect-devices detect-devices.c
balmeida@trantor [~]: detect-devices
balmeida@trantor [~]: uname -a
Linux trantor 2.2.13 #1 Mon Nov 29 13:47:45 EST 1999 i686 unknown
balmeida@trantor [~]: dmesg|grep CD-ROM
hda: TOSHIBA CD-ROM XM-6502B, ATAPI CDROM drive