[<prev] [next>] [day] [month] [year] [list]
Message-ID: <74d20d0-ce31-fc8a-de6-2a7d5da6782@accum.se>
Date: Wed, 21 Jan 2026 18:15:29 +0100 (CET)
From: Bo Branten <bosse@...um.se>
To: linux-ext4@...r.kernel.org
Subject: adding the casefold feature to an ext4 driver
Hello,
I am helping maintaining an ext4 driver for Windows witout being the
original developer and I have latly studied the casefold feature because
the driver does not mount a casefold fs as default because you decided to
make it an "incompat" feature instead of an "read-only incompat" feature.
When trying to add the casefold/unicode code from the Linux driver to our
driver I discovered that this driver has been casefolding all the time!
However it simply uses the standard functions strnicmp and wcsnicmp. This
is not exactly the same as your implementation but will give the same
result for non complicated filenames.
So no I am chosing between either always allow mounting casefolded file
system read-write without any further changes to the driver or possible
only mount them read-only to be really safe?
(the reason most people end up with a casfolded fs is if they run Wine,
possible on the Linux distribution SteamOS and later they want to read
some files from Windows on a dual boot system)
Bo Brantén
Powered by blists - more mailing lists