Whamcloud - gitweb
tune2fs: confirm dangerous operations
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 13 Feb 2016 22:38:11 +0000 (14:38 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Mar 2016 01:08:53 +0000 (20:08 -0500)
commit62e0d34b5149bfcf653df8387f426f47cc878c39
tree1953d8ce853d1aa370d0b2b5691c6289a1023a31
parentba380eea99c6035080728f042c8cb96f02fbdb18
tune2fs: confirm dangerous operations

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@dilger.ca>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/tune2fs.c
tests/t_dangerous/expect [new file with mode: 0644]
tests/t_dangerous/name [new file with mode: 0644]
tests/t_dangerous/script [new file with mode: 0644]