[Mono-bugs] [Bug 75943][Maj] Changed - UnixDriveInfo broken
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Sep 11 18:55:44 EDT 2005
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by zulu99 at gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=75943
--- shadow/75943 2005-09-11 18:51:19.000000000 -0400
+++ shadow/75943.tmp.6382 2005-09-11 18:55:44.000000000 -0400
@@ -53,6 +53,21 @@
http://mono.myrealbox.com/source/trunk/hal-sharp, though I don't know
how stable it is.
------- Additional Comments From zulu99 at gmx.net 2005-09-01 08:14 -------
many thanks for the info!
especially for the HAL link! :)
+
+------- Additional Comments From zulu99 at gmx.net 2005-09-11 18:55 -------
+Ok, i discovered another issue:
+if you use UnixDriveInfo in conjunction with drives with no media
+present, all size/free space properties
+return invalid values (of course they should return zero, ideally).
+But the biggest problem is that .IsReady returns true, even if no
+media is present.
+Due to this behaviour there's now way to make sure that values returned
+by the properties mentioned above are VALID.
+One can't rely on UnixDriveInfo, because if no media is present,
+results are flawed,
+and because .IsReady always returns true, there's no way to check for
+present media.
+
More information about the mono-bugs
mailing list