From: Yokota Hiroshi <yokota@netlab.is.tsukuba.ac.jp>
To: hirofumi@mail.parknet.co.jp
Cc: linux-kernel@vger.kernel.org
Subject: FAT fs sanity check patch
Date: Wed, 03 Dec 2003 07:22:19 +0900 [thread overview]
Message-ID: <20031203072219F.yokota@netlab.is.tsukuba.ac.jp> (raw)
Hello,
This patch is required for my 640MB Optical disk.
Because some MS windows based FAT filesystem disk formatter generetes
wrong super bloacks.
-------------------------------------------
--- linux-2.6.0-test10/fs/fat/inode.c.bak 2003-11-24 10:31:52.000000000 +0900
+++ linux-2.6.0-test10/fs/fat/inode.c 2003-11-30 01:12:37.000000000 +0900
@@ -968,6 +968,8 @@
/* all is as it should be */
} else if (media == 0xf8 && FAT_FIRST_ENT(sb, 0xfe) == first) {
/* bad, reported on pc9800 */
+ } else if (media == 0xf0 && FAT_FIRST_ENT(sb, 0xf8) == first) {
+ /* bad, reported with a MO disk */
} else if (first == 0) {
/* bad, reported with a SmartMedia card */
} else {
-------------------------------------------
PS:
I don't subscribe linux-kernel ML. If you have any questions,
please send mail to my mail address.
---
YOKOTA Hiroshi
E-mail: yokota (at) netlab (dot) is (dot) tsukuba (dot) ac (dot) jp
next reply other threads:[~2003-12-02 22:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-02 22:22 Yokota Hiroshi [this message]
2003-12-03 13:17 ` OGAWA Hirofumi
2003-12-13 18:16 ` Yokota Hiroshi
2003-12-13 19:03 ` OGAWA Hirofumi
2003-12-13 20:23 ` Maciej Zenczykowski
2003-12-14 14:33 ` OGAWA Hirofumi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031203072219F.yokota@netlab.is.tsukuba.ac.jp \
--to=yokota@netlab.is.tsukuba.ac.jp \
--cc=hirofumi@mail.parknet.co.jp \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®