diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-11-02 12:08:25 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-11-02 12:08:25 +0100 |
commit | df6206aa56a3ef34f8444fee7c777593eddedbbe (patch) | |
tree | 4101958a42fe16a4ca570ff32c520d254d66ab8e /winsup/cygwin/mount.h | |
parent | 7ac60f6cebdeafb091c9ce846c1f1eace8aeb4c5 (diff) | |
download | cygnal-df6206aa56a3ef34f8444fee7c777593eddedbbe.tar.gz cygnal-df6206aa56a3ef34f8444fee7c777593eddedbbe.tar.bz2 cygnal-df6206aa56a3ef34f8444fee7c777593eddedbbe.zip |
Add support for Parallels Desktop FS (prlfs)
* mount.h (enum fs_info_type): Add prlfs (Parallels Desktop FS).
(class fs_info): Add has_broken_fnoi flag. Implement prlfs FS flag.
* mount.cc (fs_info::update): Handle PrlFS. Fill new has_broken_fnoi
flag with life.
(fs_names): Add prlfs.
* globals.cc (ro_u_prlfs): Define.
* path.h (path_conv::has_broken_fnoi): New method.
* path.cc (symlink_info::check): Call file_get_fnoi utilizing new
has_broken_fnoi filesystem flag.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Ditto.
* new-features.xml (ov-new2.3): Document Parallels Desktop FS support.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/mount.h')
-rw-r--r-- | winsup/cygwin/mount.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/mount.h b/winsup/cygwin/mount.h index e7d542683..986f9a96b 100644 --- a/winsup/cygwin/mount.h +++ b/winsup/cygwin/mount.h @@ -1,7 +1,7 @@ /* mount.h: mount definitions. Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, - 2008, 2009, 2010, 2011, 2012, 2013, 2014 Red Hat, Inc. + 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Red Hat, Inc. This file is part of Cygwin. @@ -45,6 +45,7 @@ enum fs_info_type nwfs, ncfsd, afs, + prlfs, /* Always last. */ max_fs_type }; @@ -75,6 +76,7 @@ class fs_info unsigned has_buggy_fileid_dirinfo : 1; unsigned has_buggy_basic_info : 1; unsigned has_dos_filenames_only : 1; + unsigned has_broken_fnoi : 1; } status; ULONG sernum; /* Volume Serial Number */ char fsn[80]; /* Windows filesystem name */ @@ -100,6 +102,7 @@ class fs_info IMPLEMENT_STATUS_FLAG (bool, has_buggy_fileid_dirinfo) IMPLEMENT_STATUS_FLAG (bool, has_buggy_basic_info) IMPLEMENT_STATUS_FLAG (bool, has_dos_filenames_only) + IMPLEMENT_STATUS_FLAG (bool, has_broken_fnoi) IMPLEMENT_FS_FLAG (fat) IMPLEMENT_FS_FLAG (ntfs) IMPLEMENT_FS_FLAG (refs) @@ -116,6 +119,7 @@ class fs_info IMPLEMENT_FS_FLAG (nwfs) IMPLEMENT_FS_FLAG (ncfsd) IMPLEMENT_FS_FLAG (afs) + IMPLEMENT_FS_FLAG (prlfs) fs_info_type what_fs () const { return status.fs_type; } bool got_fs () const { return status.fs_type != none; } |