From 0fb0fb8391f2e78177585c8e4842d0fce79e4408 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 17 Jul 2009 09:00:19 +0000 Subject: * globals.cc: Improve comment on R/O UNICODE_STRINGs. * mount.h (class fs_info): Add is_mvfs bit. * mount.cc (fs_info::update): Recognize MVFS remote filesystem. (fillout_mntent): Reorder filesystem checks for speed. Add mvfs, unixfs, and sunwnfs filesystem types. * path.h (class path_conv): Add fs_is_mvfs method. * path.cc (symlink_worker): On MVFS, always create symlinks as Windows shortcuts. Explain why. --- winsup/cygwin/mount.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/mount.h') diff --git a/winsup/cygwin/mount.h b/winsup/cygwin/mount.h index bc6de12b0..c169ca33b 100644 --- a/winsup/cygwin/mount.h +++ b/winsup/cygwin/mount.h @@ -37,6 +37,7 @@ class fs_info unsigned is_csc_cache : 1; unsigned is_sunwnfs : 1; unsigned is_unixfs : 1; + unsigned is_mvfs : 1; }; unsigned long fs_flags; }; @@ -65,6 +66,7 @@ class fs_info IMPLEMENT_STATUS_FLAG (bool, is_csc_cache) IMPLEMENT_STATUS_FLAG (bool, is_sunwnfs) IMPLEMENT_STATUS_FLAG (bool, is_unixfs) + IMPLEMENT_STATUS_FLAG (bool, is_mvfs) ULONG serial_number () const { return sernum; } int has_buggy_open () const {return is_sunwnfs ();} -- cgit v1.2.3