Chuck Lever <[email protected]> writes:
> +int fat_fileattr_get(struct dentry *dentry, struct file_kattr *fa)
> +{
> + struct msdos_sb_info *sbi = MSDOS_SB(dentry->d_sb);
> +
> + /*
> + * FAT filesystems are case-insensitive by default. MSDOS
> + * supports a 'nocase' mount option for case-sensitive behavior.
> + *
> + * VFAT long filename entries preserve case. Without VFAT, only
> + * uppercased 8.3 short names are stored.
> + */
> + fa->case_insensitive = !sbi->options.nocase;
> + fa->case_nonpreserving = !sbi->options.isvfat;
> + return 0;
> +}
> +EXPORT_SYMBOL_GPL(fat_fileattr_get);
Hm, if "nocase" option is specified for msdos, it would be the case
preserving (ignores/breaks the spec though).
I.e. on msdos mount with "nocase" works like the following
$ touch aAa.txT
$ ls
aAa.txT
Thanks.
--
OGAWA Hirofumi <[email protected]>
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel