]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2image: complain if running e2image -r or -Q on a mounted filesystem
authorCarlos Maiolino <cmaiolino@redhat.com>
Sat, 12 Oct 2013 01:38:53 +0000 (21:38 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 12 Oct 2013 01:49:16 +0000 (21:49 -0400)
commit6c327e9ca47fa4e51efe3a6601ad661b8c1a3964
tree799614a004b1f093a97f4be338a0bbb017b7ef4a
parent57bde59a067c21ed924de4194344948f3c3ecb9a
e2image: complain if running e2image -r or -Q on a mounted filesystem

Several users have used e2image on a mounted RW filesystem, resulting in
inconsistent, useless e2images for debugging purposes.

This commit will forbid this and print an error message, although the
user can override this using a new force option.

Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/e2image.8.in
misc/e2image.c