Re: FreeBSD NFSv4.1 *CLIENT* - case insensitive filesystems supported? Re: FreeBSD NFSv4.1 client and server - case insensitive filesystems supported?

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Fri, 16 Jan 2026 14:17:39 UTC
On Fri, Jan 16, 2026 at 05:53:56AM -0800, Rick Macklem wrote:
> On Thu, Jan 15, 2026 at 11:55 PM Cedric Blancher
> <cedric.blancher@gmail.com> wrote:
> >
> > On Mon, 12 Jan 2026 at 23:04, Rick Macklem <rick.macklem@gmail.com> wrote:
> > >
> > > On Mon, Jan 12, 2026 at 1:56 PM Rick Macklem <rick.macklem@gmail.com> wrote:
> > > >
> > > > On Mon, Jan 12, 2026 at 11:52 AM Cedric Blancher
> > > > <cedric.blancher@gmail.com> wrote:
> > > > >
> > > > > Good evening!
> > > > >
> > > > > Does the FreeBSD >= 14.3 NFSv4.1 client and server support case
> > > > > insensitive filesystems, e.g. exported ZFS or FAT?
> > > > Greater than, as in 15.0.
> > > Oops, that's 15.1->
> > > (I looked and it is in stable/15, but not releng/15.0.)
> > > (I work with main and the stable branches and don't keep track of when the
> > > releases branch off.)
> >
> > What about the FreeBSD 15.x NFSv4.2 client - does it support
> > case-insensitive filesystems?
> I suppose. It doesn't care. If an application cares (I don't know of
> one, offhand), it can check via pathconf(2) to see if the fs is
> case-insensitive (the _PC_CASE_INSENSITIVE pathconf name
> was added recently and will be in 15.1).

If the client uses namecache, then I suppose it cares, esp. about caching
the negative lookups.  Also for renames and deletes, the whole set of
cached entries for the directory must be expunged.