diff options
Diffstat (limited to 'debugfs/debugfs.c')
-rw-r--r-- | debugfs/debugfs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c index 7eb7dc62..992a2b72 100644 --- a/debugfs/debugfs.c +++ b/debugfs/debugfs.c @@ -128,7 +128,7 @@ void do_open_filesys(int argc, char **argv) char *data_filename = 0; reset_getopt(); - while ((c = getopt (argc, argv, "iwfcb:s:d:")) != EOF) { + while ((c = getopt (argc, argv, "iwfecb:s:d:")) != EOF) { switch (c) { case 'i': open_flags |= EXT2_FLAG_IMAGE_FILE; @@ -139,6 +139,9 @@ void do_open_filesys(int argc, char **argv) case 'f': open_flags |= EXT2_FLAG_FORCE; break; + case 'e': + open_flags |= EXT2_FLAG_EXCLUSIVE; + break; case 'c': catastrophic = 1; break; |