linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* e2fsck -y says "yes" to "Abort?"
@ 2009-04-18 14:10 Eric Sandeen
  2009-04-18 16:17 ` Theodore Tso
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Sandeen @ 2009-04-18 14:10 UTC (permalink / raw)
  To: ext4 development

I've got this bug filed against Fedora:

Bug 484913 -  Change verbage of e2fsck questioning to make the "-y"
switch more useful

and I think he has a point:

sh-3.2# e2fsck -y /dev/VolGroup00/VolVol02
e2fsck 1.41.3 (12-Oct-2008)
The filesystem size (according to the superblock) is 14090240 blocks
The physical size of the device is 8847360 blocks
Either the superblock or the partition table is likely to be corrupt!

Abort? yes

sh-3.2#

I'm reluctant to invert the logic of the Abort? question as suggested
("Are you sure you want to continue?") because this is a significant
enough problem that we probably should really pause for consideration.

But it seems like perhaps stopping at "Abort?", allowing the user to say
"n" to that and then let the "-y" flag take over from there would be
reasonable.

If this sounds ok I'll whip up a patch, something like a way to flag the
really serious questions (?) as unaffected by -y.

Thanks,
-Eric

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

end of thread, other threads:[~2009-04-20 20:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-18 14:10 e2fsck -y says "yes" to "Abort?" Eric Sandeen
2009-04-18 16:17 ` Theodore Tso
2009-04-20 18:29   ` Ric Wheeler
2009-04-20 18:33     ` Eric Sandeen
2009-04-20 18:38       ` Ric Wheeler
2009-04-20 20:47         ` Andreas Dilger

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).