klange@luka ~$ genext2fs --help
Usage: genext2fs [options] image
Create an ext2 filesystem image from directories/files

  -x, --starting-image <image>
  -d, --root <directory>
  -D, --devtable <file>
  -B, --block-size <bytes>
  -b, --size-in-blocks <blocks>
  -i, --bytes-per-inode <bytes per inode>
  -N, --number-of-inodes <number of inodes>
  -m, --reserved-percentage <percentage of blocks to reserve>
  -o, --creator-os <os>      'linux', 'hurd', 'freebsd' or a numerical value.
  -g, --block-map <path>     Generate a block map file for this path.
  -e, --fill-value <value>   Fill unallocated blocks with value.
  -z, --allow-holes          Allow files with holes.
  -f, --faketime             Set filesystem timestamps to 0 (for testing).
  -q, --squash               Same as "-U -P".
  -U, --squash-uids          Squash owners making all files be owned by root.
  -P, --squash-perms         Squash permissions on all files.
  -h, --help
  -V, --version
  -v, --verbose

Report bugs to genext2fs-devel@lists.sourceforge.net
klange@luka ~$ genext2fs --version
genext2fs 1.4.1
