Re: [2.6.8-rc2-bk] New read/write bug in FAT fs

From: OGAWA Hirofumi
Date: Wed Aug 04 2004 - 08:32:19 EST


walt <wa1ter@xxxxxxxxxxxxx> writes:

> One of the changesets posted by Linus on August 2 introduced
> a bug in the FAT fs:
>
> Even when a fat32 fs is mounted read-write I now get error
> messages claiming the fs is 'read-only' when I try to write
> to it.
>
> The only change I can see which fits the timing is to inode.c
> which was posted on August 2. Apologies if I am blaming
> the wrong changeset.
>
> Could someone confirm this bug for me?

This is intention.

The default codepage/iocharset which is easy to cause a mistake and
unclear was deleted from fatfs. So default is mounted as read only.

You need to explicitly specify the "codepage" and "iocharset" options.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
-
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/