JFFS2 case insensitivity

David Woodhouse dwmw2 at infradead.org
Tue Jan 27 08:48:13 EST 2004


On Tue, 2004-01-27 at 12:06 +0200, Jarkko Lavinen wrote:
> How difficult it would be to add support for file name case
> insensitivity to JFFS2?

I'm dubious about the need for this. 

You only need case insensitivity when the filename you're given is wrong
in case only -- which is basically only if you're taking input from the
user and trying to look up a filename directly, surely? 

On an embedded device, how often are your filenames coming from external
sources in that way, rather than being chosen by the user from a list?

Even then, it should be easy enough to do it in userspace if you really
need it.

Unless, of course, you're pondering a port to WinCE. In which case it's
easier than it would be under Linux. You don't actually _use_ the
readdir() and lookup() functions which the Linux version uses, you
implement real FindFirst() and FindNext() functions directly on top of
the JFFS2 core code, and can do what you want.

-- 
dwmw2




More information about the linux-mtd mailing list