[Mono-bugs] [Bug 75943][Nor] New - UnixDriveInfo broken

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Aug 31 05:59:51 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-08-31 05:59:51.000000000 -0400
+++ shadow/75943.tmp.18887	2005-08-31 05:59:51.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 75943
+Product: Mono: Class Libraries
+Version: 1.1
+OS: other
+OS Details: Fedora Core 3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Mono.POSIX
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: zulu99 at gmx.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: UnixDriveInfo broken
+
+Description of Problem:
+Several methods of UnixDriveInfo don't return expexted values.
+
+Broken on CD-Roms:
+  - VolumeLabel: returns "/dev/hdc" instead of the cd label
+  - DriveFormat: returns "auto" instead of "iso9660"
+
+Generally broken:
+  - DriveType: _always_ returns DriveType.Unknown (returnvalue is hardcoded)
+
+Steps to reproduce the problem:
+
+Mono.Unix.UnixDriveInfo di = new Mono.Unix.UnixDriveInfo(@"/media/cdrom");
+Console.WriteLine(di.VolumeLabel);
+Console.WriteLine(di.DriveFormat;
+Console.WriteLine(di.FileSystem);


More information about the mono-bugs mailing list