[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <20090420204704.GG3209@webber.adilger.int>
Date: Mon, 20 Apr 2009 14:47:04 -0600
From: Andreas Dilger <adilger@....com>
To: Ric Wheeler <rwheeler@...hat.com>
Cc: Eric Sandeen <sandeen@...hat.com>, Theodore Tso <tytso@....edu>,
ext4 development <linux-ext4@...r.kernel.org>
Subject: Re: e2fsck -y says "yes" to "Abort?"
On Apr 20, 2009 14:38 -0400, Ric Wheeler wrote:
> Eric Sandeen wrote:
>> Ric Wheeler wrote:
>>> The only down side is when you try to automate this (say in an
>>> appliance) and you don't have a human reading the output. In this
>>> case, you might just want to invert the logic but in general, it does
>>> seem dangerous to invert the logic for a long standing option,
>>
>> Maybe make something like "-yy" automatically answer "n" to anything
>> that would stop the fsck, and answer "y" to anything that it proposes
>> fixing?
>
> That would be useful for scripting users - it is already assumed to be
> wildly dangerous to run it in "yes" mode I would assume in any case :-)
Well, all of the questions are designed to choose a safe option when
run with "-y", and to avoid changing the filesystem when run with "-n".
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists