Cygwin: support exFAT and fix remote FAT/FAT32 recognition

Newer FAT32 and exFAT add FILE_SUPPORTS_ENCRYPTION to their
flags which wasn't handled by Cygwin yet.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2018-12-23 17:53:55 +01:00
parent 092a768885
commit 0c25ca40ce
4 changed files with 12 additions and 1 deletions

View File

@ -369,6 +369,8 @@ class path_conv
DWORD fs_name_len () const {return fs.name_len ();}
bool fs_got_fs () const { return fs.got_fs (); }
bool fs_is_fat () const {return fs.is_fat ();}
bool fs_is_exfat () const {return fs.is_exfat ();}
bool fs_is_any_fat () const {return fs.is_fat () || fs.is_exfat ();}
bool fs_is_ntfs () const {return fs.is_ntfs ();}
bool fs_is_refs () const {return fs.is_refs ();}
bool fs_is_samba () const {return fs.is_samba ();}