]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - misc/util.c
mke2fs: fix force option to create filesystem on mounted device
authorKazuya Mio <k-mio@sx.jp.nec.com>
Mon, 16 Dec 2013 05:42:22 +0000 (00:42 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 16 Dec 2013 05:42:44 +0000 (00:42 -0500)
commit82896cbe0e83fc084abbe1ae2f043d2ec9058963
tree8fdf0d7874a6a440e9e1ac6295f5c08cdfb2ef90
parent0047255f602ae725a37f24c9b3214a1400459a20
mke2fs: fix force option to create filesystem on mounted device

According to mke2fs man, we can create a filesystem on the mounted
device when -FF option is specified.

However, currently we have to specify -F option third to force mke2fs.
This patch fixes the problem.

Signed-off-by: Kazuya Mio <k-mio@sx.jp.nec.com>
Reviewed-by: Zheng Liu <wenqing.lz@taobao.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/util.c