[Mono-dev] DriveInfo

Thong Nguyen tum at veridicus.com
Wed Feb 8 20:40:12 EST 2006


I notice that there is already a UnixDriveInfo.  I'm implementing a
System.IO.DriveInfo that currently just reflects on UnixDriveInfo.

I've noticed some issues though.  

UnixDriveInfo currently doesn't do any "DriveType" detection -- is there a
reliable POSIX way of detecting the "type" of a disk (cdrom, ram, etc).

UnixDriveInfo.GetDrives reads fstab which doesn't work with disks mounted
but not listed in fstab (disks mounted manually or by automount).  Anyone
got any good proposals on the best way to handle this?

Regards,

^Tum





More information about the Mono-devel-list mailing list