I tried to use e2image on a 32TiB FS and was getting errors.
Add EXT2_FLAG_NEW_BITMAPS to the open_flags for the device.
Signed-off-by: Nick Dokos <[email protected]>
---
misc/e2image.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/misc/e2image.c b/misc/e2image.c
index fb92881..5c4dde7 100644
--- a/misc/e2image.c
+++ b/misc/e2image.c
@@ -625,7 +625,7 @@ int main (int argc, char ** argv)
errcode_t retval;
ext2_filsys fs;
char *image_fn;
- int open_flag = 0;
+ int open_flag = EXT2_FLAG_NEW_BITMAPS;
int raw_flag = 0;
int install_flag = 0;
int scramble_flag = 0;
--
1.6.0.3