[Mono-list] System.DriveInfo class bugs

Rob motorhead9876 at yahoo.com
Fri Sep 21 12:58:28 EDT 2007


Interesting behavior with the System.DriveInfo class DriveInfo.GetDrives()

Seems that if the drive is in etx2 format, the AvailableFreeSpace, FreeSpace, and TotalSize are set to the TotalSize value. If the drive is a different format, only the TotalSize is returned, the other values being set to 0. 

All the other values (Name. Drive Type, Drive Format, etc) are returned correctly.

Actually, now that I take a second look, the TotalSize returned is incorrect and the same for all drives.

I'm using mono 1.2.4 on Slackware. Any ideas? Or is this a bug?

Thanks

Rob


       
---------------------------------
 Check out  the hottest 2008 models today at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070921/6434e658/attachment.html 


More information about the Mono-list mailing list