Page MenuHomeFreeBSD

pathconf: Define a new name called _PC_CASE_INSENSITIVE
ClosedPublic

Authored by rmacklem on Oct 25 2025, 1:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 8, 3:17 AM
Unknown Object (File)
Tue, Nov 4, 6:45 PM
Unknown Object (File)
Sat, Nov 1, 6:26 PM
Unknown Object (File)
Fri, Oct 31, 4:27 PM
Unknown Object (File)
Fri, Oct 31, 4:27 PM
Unknown Object (File)
Fri, Oct 31, 4:27 PM
Unknown Object (File)
Fri, Oct 31, 4:21 PM
Unknown Object (File)
Thu, Oct 30, 2:16 PM
Subscribers

Details

Summary

Some FreeBSD file systems (msdosfs and optionally ZFS)
handle case insensitive file name lookup.
NFS (v3 and 4) provide an attribute to indicate this
capability, but without this patch, the NFS server does
not know if the file system does support this.

This patch adds the pathconf name_PC_CASE_INSENSITIVE
that can be used by the NFS server or user programs to
check for this feature.

A pathconf(2) man page patch, plus patches for ZFS and NFS
will be done separately.

Test Plan

Tested for msdosfs and a ZFS file system created
with casesensitivity=insensitive.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable