Whamcloud - gitweb
mke2fs: prompt for user verification for "-S"
authorAndreas Dilger <adilger@dilger.ca>
Sat, 20 Jun 2015 01:34:02 +0000 (21:34 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 20 Jun 2015 01:34:02 +0000 (21:34 -0400)
commita6eeac1cebbdb35ba268e25587907f46c3010f59
tree5a8cc93c42b272970699b0a86acd95b21c34eaf3
parent59707c1b5833d580dbd05bae85b71c0da20c3078
mke2fs: prompt for user verification for "-S"

Prompt for user verification before rewriting the filesystem
superblocks using the "-S" (super-only) option.  This should
not normally be used at all, so adding the extra verification
will probably save a few user filesystems in the future.  Since
this is something that should only be done in rare cases under
user supervision, wait for user input rather than proceeding
automatically after a timeout.

Update the mke2fs man page to more fully explain the many
dangers of this option.

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/mke2fs.8.in
misc/mke2fs.c