summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/mount.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/mount.cc')
-rw-r--r--winsup/cygwin/mount.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc
index a7cc07efb..5080ebd20 100644
--- a/winsup/cygwin/mount.cc
+++ b/winsup/cygwin/mount.cc
@@ -914,6 +914,8 @@ mount_info::from_fstab_line (char *line, bool user)
cend = find_ws (c);
*cend = '\0';
unsigned mount_flags = MOUNT_SYSTEM | MOUNT_BINARY;
+ if (!strcmp (fs_type, "cygdrive"))
+ mount_flags |= MOUNT_NOPOSIX;
if (!read_flags (c, mount_flags))
return true;
if (user)