From: Thunder from the hill <thunder@ngforever.de>
To: "David D. Hagood" <wowbagger@sktc.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [Q] FAT driver enhancement
Date: Wed, 03 Apr 2002 17:06:12 -0700 [thread overview]
Message-ID: <3CAB98F4.9080809@ngforever.de> (raw)
In-Reply-To: <20020403140516.C38235-100000@toad.stack.nl> <3CAAFA36.80109@sktc.net>
Hi,
David D. Hagood wrote:
> Jos Hulzink wrote:
>
>> How should the FAT driver know that the first FAT is bad if it doesn't
>> scan the FAT ? You don't want the second FAT to be used, you want the
>> mount to fail, and fsck.xxx to fix the mess. Who tells you that the
>> second
>> copy of the FAT is the correct one, and not the first ?
>
>
> Seems to me you would want a mount-time option to the FAT fs code to say
> "use FAT#<n>", defaulting to the first if no parm given. If that copy of
> the FAT has any problems, fail the mount.
>
> Then you'd want the fsck.fat to have a similar option, saying "use
> FAT#<n> for the check" - that way if the FATs are out of sync, you could
> do a dry run check on each FAT, and go with the one that seemed to be
> better. Perhaps even having the tool allow you to pick and choose if
> needed (although this would probably be better as a seperate tool, that
> allowed you to view a file given a selected FAT and copy it to a clean
> file system.)
If I apply the "Think big" patch for a second, I say, check individually
for each entry with fsck.fat and build a fat of the entries that are
still ok. This could be a special --rebuild option or whatever.
Regards,
Thunder
--
Thunder from the hill.
Citizen of our universe.
next prev parent reply other threads:[~2002-04-04 0:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-28 13:25 [Q] FAT driver enhancement Jos Hulzink
2002-03-28 19:48 ` OGAWA Hirofumi
2002-04-02 9:34 ` Helge Hafting
2002-04-02 13:27 ` OGAWA Hirofumi
2002-04-02 22:13 ` Mike Fedyk
2002-04-03 7:07 ` Jens Axboe
2002-04-03 11:54 ` OGAWA Hirofumi
2002-04-03 12:21 ` Jos Hulzink
2002-04-03 12:45 ` OGAWA Hirofumi
2002-04-03 12:48 ` David D. Hagood
2002-04-04 0:06 ` Thunder from the hill [this message]
2002-03-29 23:11 ` Pavel Machek
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=3CAB98F4.9080809@ngforever.de \
--to=thunder@ngforever.de \
--cc=linux-kernel@vger.kernel.org \
--cc=wowbagger@sktc.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.