I came across the behavior that on Linux, any NFS mounts are ignored when 
calling System.IO.DriveInfo.GetDrives().  On OS X, the NFS mounts are included, 
but on Linux, they are ignored, since they don’t start with ‘/‘.  To fix, in 
io.c, I am checking the LinuxMountInfoParseState->fstype to see if it is “nfs”, 
and if so, don’t ignore it in the call to add_drive_string.

I’ve added a pull request with the fix: https://github.com/mono/mono/pull/986

Can you please include this so there is similar behavior on OS X and Linux 
systems when listing the drives on a system where there are NFS mounted volumes?
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to