Cygwin /usr/bin/getconf CASE_INSENSITIVE /path does not recognise case-sensitive filesystems...

Roland Mainz via Cygwin <[email protected]>
Newsgroups gmane.os.cygwin
Message-ID <CAKAoaQkoAgN6o6t8HvPtk7PYjTUAC9YXsR9DNfs0sz=Ho9aDXA@mail.gmail.com>
Hi!

----

I got a couple of bugreports that Cygwin $ getconf CASE_INSENSITIVE
/path # does not work and always reports that the filesystem is
case-insensitive - which is not true for NFSv3, and usually not true
for NFSv4.1 filesystems coming from Linux (NFSv4 supports
case-insensitive filesystems, but that is not the issue...)

Example (/cygdrive/l/ is a case-sensitive filesystem):
---- snip ----
$ getconf CASE_INSENSITIVE /cygdrive/l/builds
1
$ getconf -a /cygdrive/l/builds | fgrep -i case
CASE_INSENSITIVE                    1

$ /usr/lib/csih/getVolInfo /cygdrive/l/builds
Device Type        : 0x07
Characteristics    : 0x00000030
  FILE_REMOVABLE_MEDIA              : FALSE
  FILE_REMOTE_DEVICE                : TRUE
Volume Name        : <nfs://derfwnb4966_ipv4:2049/>
Serial Number      : 5488
Max Filenamelength : 255
Filesystemname     : <NFS>
Flags              : 0x084020cf
  FILE_CASE_SENSITIVE_SEARCH        : TRUE
  FILE_CASE_PRESERVED_NAMES         : TRUE
  FILE_UNICODE_ON_DISK              : TRUE
  FILE_PERSISTENT_ACLS              : TRUE
  FILE_FILE_COMPRESSION             : FALSE
  FILE_VOLUME_QUOTAS                : FALSE
  FILE_SUPPORTS_SPARSE_FILES        : TRUE
  FILE_SUPPORTS_REPARSE_POINTS      : TRUE
  FILE_SUPPORTS_REMOTE_STORAGE      : FALSE
  FILE_RETURNS_CLEANUP_RESULT_INFO  : FALSE
  FILE_SUPPORTS_POSIX_UNLINK_RENAME : FALSE
  FILE_VOLUME_IS_COMPRESSED         : FALSE
  FILE_SUPPORTS_OBJECT_IDS          : FALSE
  FILE_SUPPORTS_ENCRYPTION          : FALSE
  FILE_NAMED_STREAMS                : TRUE
  FILE_READ_ONLY_VOLUME             : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE        : FALSE
  FILE_SUPPORTS_TRANSACTIONS        : FALSE
  FILE_SUPPORTS_HARD_LINKS          : TRUE
  FILE_SUPPORTS_EXTENDED_ATTRIBUTES : TRUE
  FILE_SUPPORTS_OPEN_BY_FILE_ID     : FALSE
  FILE_SUPPORTS_USN_JOURNAL         : FALSE
  FILE_SUPPORTS_INTEGRITY_STREAMS   : FALSE
  FILE_SUPPORTS_BLOCK_REFCOUNTING   : TRUE
  FILE_SUPPORTS_SPARSE_VDL          : FALSE
  FILE_DAX_VOLUME                   : FALSE
  FILE_SUPPORTS_GHOSTING            : FALSE
SectorInfoFlags    : 0x07
  SSINFO_FLAGS_NO_SEEK_PENALTY      : TRUE
  SSINFO_FLAGS_TRIM_ENABLED         : FALSE
---- snip ----

---- snip ----
$ uname -a
CYGWIN_NT-10.0-19045 wingrendel02 3.7.0-0.332.g43ddce194c49.x86_64
2025-12-10 20:22 UTC x86_64 Cygwin
---- snip ----

----

Bye,
Roland
-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.