Does anyone have a function to list the drives (mounted volumes) on a linux system?
In windows you can use the "GetLogicalDriveStrings()" API function, and on the Mac you can use normal pascal to list the drives in /Volumes.
Is it as simple as using findfirst/next/close on the /mnt folder?