linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* FAT fs sanity check patch
@ 2003-12-02 22:22 Yokota Hiroshi
  2003-12-03 13:17 ` OGAWA Hirofumi
  0 siblings, 1 reply; 6+ messages in thread
From: Yokota Hiroshi @ 2003-12-02 22:22 UTC (permalink / raw)
  To: hirofumi; +Cc: linux-kernel

 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-12-14 14:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-02 22:22 FAT fs sanity check patch Yokota Hiroshi
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).