OS Manuals

/usr/bin/e2image

Ext2/3/4 filesystem extra utilities

From e2fsprogs-extra 1.47.4-r5 (os), captured 2026-11-05 by running e2image --help (exit 1). permalink

e2image 1.47.4 (6-Mar-2025)
/usr/bin/e2image: invalid option -- '-'
Usage: /usr/bin/e2image [ -r|-Q ] [ -f ] [ -b superblock ] [ -B blocksize ] device image-file
       /usr/bin/e2image -I device image-file
       /usr/bin/e2image -ra [ -cfnp ] [ -o src_offset ] [ -O dest_offset ] src_fs [ dest_fs ]
Options (13)
OptionDescriptionSource
-aInclude file data in the image file.man
-b superblockGet image from partition with broken primary superblock by using the superblock located at file system block number superblock.man
-B blocksizeSet the file system blocksize in bytes.man
-cCompare each block to be copied from the source device to the corresponding block in the target image-file.man
-fOverride the read-only requirement for the source file system when saving the image file using the -r and -Q options.man
-Iinstall the metadata stored in the image file back to the device.man
-nCause all image writes to be skipped, and instead only print the block numbers that would have been written.man
-o src_offsetSpecify offset of the image to be read from the start of the source device in bytes.man
-O tgt_offsetSpecify offset of the image to be written from the start of the target image-file in bytes.man
-pShow progress of image-file creation.man
-QCreate a QCOW2-format image file instead of a normal image file, suitable for use by virtual machine images, and other tools that can use the .qcow image format.man
-rCreate a raw image file instead of a normal image file.man
-sScramble directory entries and zero out unused portions of the directory blocks in the written image file to avoid revealing information about the contents of the file system.man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.