System.DriveInfo class bugs

View: New views
3 Messages — Rating Filter:   Alert me  

System.DriveInfo class bugs

by UngaWunga :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.
_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list

Re: System.DriveInfo class bugs

by jordanwb :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes I'm having the same problem too. But for me, all the properties, the values are the maximum possible.

Re: System.DriveInfo class bugs

by Alan McGovern-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This class isn't fully implemented. That's why the numbers are weird.

Alan.

On Mon, Jun 30, 2008 at 8:46 PM, jordanwb <jordan.w.bradley@...> wrote:

Yes I'm having the same problem too. But for me, all the properties, the
values are the maximum possible.
--
View this message in context: http://www.nabble.com/System.DriveInfo-class-bugs-tp12825759p18202942.html
Sent from the Mono - General mailing list archive at Nabble.com.

_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list


_______________________________________________
Mono-list maillist  -  Mono-list@...
http://lists.ximian.com/mailman/listinfo/mono-list