Your company here, and a link to your site. Click to find out more.

e2tools - Man Page

utilities to manipulate files in an ext2/ext3 filesystem


E2tools is a simple set of GPL'ed utilities to read, write, and manipulate files in an ext2/ext3 filesystem. These utilities access a filesystem directly using the ext2fs library. I wrote these tools in order to copy files into a linux filesystem on a machine that does not have ext2 support. Of course, they can also be used on a linux machine to read/write to disk images or floppies without having to mount them or have root access.

Supported functionality:


copy files


move files


remove files


create directory


create hard links


list files/directories


output the last part of a file

In general, to specify a directory or file on an ext2 filesystem for the e2tools utilities, use the following form:


The filesystem can be an unmounted partition or a regular file that's been formatted to contain an ext2 filesystem.  In general, if a command takes multiple file names on the command line, if the first one contains an ext2 file specification, the rest of the files are assumed to be on the same filesystem until another one is explicitly stated:





Files 1-3 are on /tmp/boot.img and the last file is on /tmp/boot2.img

See Also

e2cp(1), e2ln(1), e2ls(1), e2mkdir(1), e2mv(1), e2rm(1), e2tail(1).


The e2tools were written by Keith Sheffield <sheff@pobox.com>.

This manual page was written by Lucas Wall <lwall@debian.org>, for the Debian project (but may be used by others).

Referenced By

e2cp(1), e2ln(1), e2ls(1), e2mkdir(1), e2mv(1), e2rm(1), e2tail(1).

March 2, 2005