CD-ROM mount points

Does SDL provide a common way of finding the mount
point of a cd-drive?

I know that on windows I could use SDL_CDName()(and
was using until I realised it only worked for
windows), as the name is the drive letter,. However
on linux and other os /dev/cdrom != /mnt/cdrom.

cheers

Fosters.
www.geocities.com/neocdsdl__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger

Does SDL provide a common way of finding the mount
point of a cd-drive?

No, it just provides the way of finding CD-ROM devices. You have to look
them up in the mount table yourself. I think I posted code on the SDL list
a long time ago to do this on UNIX. I think the code is publicly available
in ‘setup’, an installation program written by Stephane and myself when we
worked at Loki.

ftp://ftp.lokigames.com/pub/open-source/setup/ (I think)

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment