diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-11-23 14:28:52 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-11-23 14:28:52 +0300 |
commit | 86404692c60b3fb04f1450dcee7837ee6940a414 (patch) | |
tree | 0e5c1dde852e80a2b3548894248fdf054a1c5e97 /winsup/cygwin/path.h | |
parent | bf4071fad04c9ea670aa8344b6bd20e4763a0082 (diff) |
* path.cc (fs_info::update): Define GETVOLINFO_VALID_MASK and TEST_GVI.
Change FS_IS_SAMBA and FS_IS_SAMBA_WITH_QUOTA and their usage
accordingly. Define FS_IS_NETAPP_DATAONTAP. Recognize NetApp device
and store in is_netapp flag. Mark NetApp device as having no good
inodes.
* path.h (struct fs_info): Add is_netapp flag. Add matching accessors.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index f50d27d4a..4097053c7 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -100,6 +100,7 @@ struct fs_info unsigned is_ntfs : 1; unsigned is_samba : 1; unsigned is_nfs : 1; + unsigned is_netapp : 1; } status; public: void clear () @@ -116,6 +117,7 @@ struct fs_info is_ntfs (false); is_samba (false); is_nfs (false); + is_netapp (false); } inline DWORD& flags () {return status.flags;}; inline DWORD& serial () {return status.serial;}; @@ -130,6 +132,7 @@ struct fs_info IMPLEMENT_STATUS_FLAG (bool, is_ntfs) IMPLEMENT_STATUS_FLAG (bool, is_samba) IMPLEMENT_STATUS_FLAG (bool, is_nfs) + IMPLEMENT_STATUS_FLAG (bool, is_netapp) bool update (const char *); }; |