Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Null and Void

Another FileSystem-ish Question

This topic is 6263 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone know a method of enumerating available Floppy and CDROM (SCSI and IDE) drives? Is there a way to do it for only mounted devices and/or all devices regardless of whether or not they''re mounted? Is there a way to check if it''s mounted (for the second option in the last question)? Thanks in advance . [Resist Windows XP''s Invasive Production Activation Technology!]

Share this post


Link to post
Share on other sites
Advertisement
You could either read /proc/mounts if the system supports the proc filesystem, or you could spawn 'df' and parse its output to see which devices are mounted. Those are the only ways I can think of, but then again; I don't know much about programming under linux

Edited by - Dactylos on September 23, 2001 7:39:10 PM

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!