diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2023-03-27 21:39:26 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2023-03-27 21:39:26 +0300 |
commit | fc6e89c937c1bcdf2b0efc6806e29960c448b756 (patch) | |
tree | 8e55f803105361eb3ec7327792f82059cb9923a7 /winsup/utils | |
parent | 80cea279426fbb03f4954bb8be88fb1a2b5e320b (diff) |
Cygwin: chattr: clarify requirements for casesensitive directories
- Windows 10 requires WSL
- Windows 11 only allows enabling casesensitivity if dir is empty
Fixes: 0d4b39d37b966 ("Cygwin: Add lsattr and chattr tools")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/utils')
-rw-r--r-- | winsup/utils/chattr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/utils/chattr.c b/winsup/utils/chattr.c index e3ab1fba8..2438d79b4 100644 --- a/winsup/utils/chattr.c +++ b/winsup/utils/chattr.c @@ -265,8 +265,9 @@ usage (FILE *stream) " content indexing service\n" " 'e', 'Encrypted': file is encrypted\n" " 'C', 'Casesensitive': directory is handled case sensitive\n" - " (Windows 10 1803 or later, local NTFS only,\n" - " WSL must be installed)\n"); + " - local NTFS only\n" + " - Windows 10 1803 or later: requires installed WSL\n" + " - Windows 11: enabling requires empty dir\n"); exit (stream == stdout ? 0 : 1); } |