Re: JFS default behavior (was: UTF-8 in file systems? xfs/extfs/etc.)
From: Pascal Schmidt
Date: Mon Feb 16 2004 - 10:44:44 EST
On Mon, 16 Feb 2004 16:30:13 +0100, you wrote in linux.kernel:
> lurking corner cases too - what if you creat() a file, then do a
> readdir() and strcmp() each entry looking for your file (while
> comparing a filename smashed to UTF-8 to the original unsmashed string)?
That's broken on multitasking systems anyway. Even if you find the
same name, somebody (root process for example) might have unlinked your
file and created another with the same name between you calling creat()
and doing the readdir(). What would be the use of this, anyway?
--
Ciao,
Pascal
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/