lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2273.1238996001@gamaville.dokosmarshall.org>
Date:	Mon, 06 Apr 2009 01:33:21 -0400
From:	Nick Dokos <nicholas.dokos@...com>
To:	linux-ext4@...r.kernel.org
cc:	nicholas.dokos@...com
Subject: [PATCH][64-BIT] Enable 64-bitness in e2image.c

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 <nicholas.dokos@...com>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ