Re: [PATCH 7/9] tune2fs: confirm dangerous operations

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

 



On Sun, Mar 06, 2016 at 12:10:57AM -0500, Theodore Ts'o wrote:
> I've tried it out, and I think 5 seconds is enough time.  I'll note
> that just hitting the return key will abort the operation, so the user
> has to type 'y', return in order to continue.  In fact I will probaby
> change the prompt so it looks like this:
> 
> Proceed anyway (or wait %d seconds) (y,n) ? <n>

Seems fine to me.

--D

> 
> This should make it clear that if the sysadmin is not sure, just
> hitting return is enough to cancel the operation.
> 
> > > On Feb 13, 2016, at 3:38 PM, Darrick J. Wong <darrick.wong@xxxxxxxxxx> wrote:
> > > > 
> > > > Give admins a short amount of time to confirm that they want to
> > > > proceed with a dangerous operation.  Refuse to perform the op
> > > > unless the filesystem is freshly checked.
> > > > 
> > > > Cc: Andreas Dilger <adilger@xxxxxxxxx>
> > > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> 
> Thanks, applied.
> 
> 						- Ted
--
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