[Mono-dev] NFS mounts ignored on Linux

David Curylo curylod at asme.org
Thu Apr 10 01:00:02 UTC 2014

Just checking on this, as I didn’t really get any feedback.  Do I need to open a defect to have this pull request merged or is there something else I need to do so the maintainer of io.c notices it?

On Apr 9, 2014, at 12:19 AM, David Curylo <curylod at asme.org> wrote:

> 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?

More information about the Mono-devel-list mailing list