[Bug 315782] Re: Change of capitalization in filenames on FAT32
Nicklas W Bjurman
lordmetroid at yahoo.com
Tue Jan 27 12:06:53 UTC 2009
I posed a question where to begin digging on the Linux kernel mailing
list, the filesystem maintainer, OGAWA Hirofumi replied as below:
This is known issue for case-insensitive fs. (BTW, CI is case-
insensitive).
To allow rename("filename", "FILENAME"), we have to fix two issues. One
is vfs_rename(), it doesn't call ->rename handler if inodes was same.
Another one is fs handlers, it has to handle dentry->d_name change while
someone is using it, and/or it has to care about dentry alias. Because,
the inode of both of names is same, and dentry should/may be same.
BTW, those is kernel side issues. There is some userland issues too
(e.g. IIRC, "mv" command check stat->st_ino before call rename(2)).
I also believe
http://lxr.linux.no/linux+v2.6.28.2/fs/fat/namei_vfat.c#L53 is a key
element to this bug.
--
Change of capitalization in filenames on FAT32
https://bugs.launchpad.net/bugs/315782
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to Linux.
More information about the kernel-bugs
mailing list