[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160306051057.GI10297@thunk.org>
Date: Sun, 6 Mar 2016 00:10:57 -0500
From: Theodore Ts'o <tytso@....edu>
To: "Darrick J. Wong" <darrick.wong@...cle.com>
Cc: Andreas Dilger <adilger@...ger.ca>, linux-ext4@...r.kernel.org
Subject: Re: [PATCH 7/9] tune2fs: confirm dangerous operations
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>
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@...cle.com> 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@...ger.ca>
> > > Signed-off-by: Darrick J. Wong <darrick.wong@...cle.com>
Thanks, applied.
- Ted
--
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