Whamcloud - gitweb
mke2fs: check for pre-existing file system
authorTheodore Ts'o <tytso@mit.edu>
Sat, 26 Apr 2014 22:42:31 +0000 (18:42 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 5 May 2014 02:22:45 +0000 (22:22 -0400)
commitdbcd617882ee5c9da80d9257475f2594352f6698
tree39e064f6f7fb1db2370b73de32dd4213b450466b
parentf83f4132e192dee197240fdfa062128b52188d1c
mke2fs: check for pre-existing file system

Warn the system administrator if there is an existing file system on
the block device, and give the administrator an opportunity to abort
the mkfs operation.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/mke2fs.c
misc/util.c
misc/util.h