RFE: getconf(1)/|pathconf()| support for |_PC_CASE_SENSITIVE| ...
Roland Mainz
roland.mainz@nrubsig.org
Sat Jun 7 23:42:50 GMT 2025
On Sat, Jun 7, 2025 at 7:06 PM Brian Inglis via Cygwin
<cygwin@cygwin.com> wrote:
> On 2025-06-07 09:45, Roland Mainz via Cygwin wrote:
> > Could Cygwin /bin/getconf please add support for |pathcomf(...
> > _PC_CASE_SENSITIVE)|, either querying
> > |FILE_CASE_SENSITIVE_INFORMATION| (see
> > https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/ns-ntifs-_file_case_sensitive_information)
> > and check the |FILE_CS_FLAG_CASE_SENSITIVE_DIR| flag, or use the
> > volume flag |FILE_CASE_SENSITIVE_SEARCH| if
> > |FILE_CASE_SENSITIVE_INFORMATION| is not supported.
> See lsattr(1), chattr(1):
>
> 'C', 'Casesensitive': directory is handled case sensitive
> (Windows 10 1803 or later, local NTFS only, WSL must be installed)
I know... but the request is for portable applications and scripts,
which either use |pathconf(...,_PC_CASE_SENSITIVE)| or /bin/getconf to
probe this information. Both APIs are not supported by Cygwin yet...
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz@nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
More information about the Cygwin
mailing list