Re: e2fsck -y says "yes" to "Abort?"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux