[Mono-bugs] [Bug 81228][Min] New - Set FileAttributes.ReparsePoint for special files

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Mar 24 19:52:06 EDT 2007


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 svdb+ximian.com at stack.nl.

http://bugzilla.ximian.com/show_bug.cgi?id=81228

--- shadow/81228	2007-03-24 18:52:06.000000000 -0500
+++ shadow/81228.tmp.32624	2007-03-24 18:52:06.000000000 -0500
@@ -0,0 +1,31 @@
+Bug#: 81228
+Product: Mono: Class Libraries
+Version: 1.2
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: svdb+ximian.com at stack.nl               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Set FileAttributes.ReparsePoint for special files
+
+As I understand it, reparse points are used by Windows for files/
+directories that don't come directly from the file system, but have some 
+sort of intermediate translation.
+
+As such, it would be appropriate to also set the 
+FileAttributes.ReparsePoint flag in FileSystemInfo objects when the file 
+is a character device, block device, fifo, or socket on a unix system.
+
+If the ReparsePoint flag were set for these entries, checking this flag 
+would be enough to establish that an entry requires special action when 
+the contents is to be inspected, without the need for non-BCL functions.
+This is useful when creating a portable C# program to grep through files, 
+put files in archives, or in my case, to generate checksums.


More information about the mono-bugs mailing list