Cygwin: chattr: clarify requirements for casesensitive directories

- Windows 10 requires WSL
- Windows 11 only allows enabling casesensitivity if dir is empty

Fixes: 0d4b39d37b ("Cygwin: Add lsattr and chattr tools")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2023-03-27 20:39:26 +02:00
parent 80cea27942
commit fc6e89c937
2 changed files with 6 additions and 4 deletions

View File

@ -89,8 +89,9 @@
content indexing service
'e', 'Encrypted': file is encrypted
'C', 'Casesensitive': directory is handled case sensitive
(Windows 10 1803 or later, local NTFS only,
WSL must be installed)
- local NTFS only
- Windows 10 1803 or later: requires installed WSL
- Windows 11: enabling requires empty dir
</screen>
</refsect1>
</refentry>

View File

@ -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);
}