Re: [PATCH 34/38] vfs: syscall: Add fsinfo() to query filesystem information [ver #10]

From: David Howells
Date: Fri Jul 27 2018 - 19:51:52 EST


David Howells <dhowells@xxxxxxxxxx> wrote:

> One thing I'm confused about is that fat has both a codepage and a charset and
> I'm not sure of the difference.

In fact, it's not clear that the codepage is actually used.

warthog>git grep '[.>]codepage'
fs/fat/inode.c: opts->codepage = fat_default_codepage;
fs/fat/inode.c: opts->codepage = option;
fs/fat/inode.c: sprintf(buf, "cp%d", sbi->options.codepage);

David