E2TOOLS(7)
π E2TOOLS π
okay bestie, so you know how e2tools is a whole set of utilities to manipulate files in an ext2/ext3 filesystem? yeah. that's the vibe. this is the E2TOOLS(7) page from the Miscellaneous Information Manual and it's literally your group chat for talking to ext2 filesystems. let's get into it π¦
β¨ DESCRIPTION β¨
E2tools is a simple set of GPL'ed utilities to read, write, and manipulate files in an ext2/ext3 filesystem. no cap, that's the whole thing.
These utilities access a filesystem directly using the ext2fs library. the author wrote these tools in order to copy files into a linux filesystem on a machine that does not have ext2 support π. and of course β because she's generous like that β they can <em>also</em> be used on a linux machine to read/write to disk images or floppies without having to mount them or have root access. the way that just... works. no sudo, no mount, no stress π
πΈ Supported functionality πΈ
here's the roster, the main characters, the whole squad:
e2cpβ copy filese2mvβ move filese2rmβ remove filese2mkdirβ create directorye2lnβ create hard linkse2lsβ list files/directoriese2tailβ output the last part of a file
seven icons. all of them serving. periodt β¨
π how to point at a file on the filesystem π
In general, to specify a directory or file on an ext2 filesystem for the e2tools utilities, use the following form:
filesystem:directory_path
yes bestie, it's a colon. that's the whole separator. iconic honestly.
The filesystem can be an unmounted partition or a regular file that's been formatted to contain an ext2 filesystem. both are valid, both are welcome here π
π¦ the multi-file rule (iykyk) π¦
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. so like, she remembers where she is until you tell her otherwise. main character memory π§ β¨
/tmp/boot.img:/tmp/file1
/tmp/file2
/tmp/file3
/tmp/boot2.img:/tmp/file4
so Files 1-3 are on /tmp/boot.img and the last file is on /tmp/boot2.img. see how that worked? first one set the address, the next two just... kept living there, and then file4 moved out and got a whole new filesystem. growth. π±
β οΈ heads up: the moment a file arg <em>does</em> have a filesystem:path spec, she switches filesystems right there. don't get caught slipping.
π₯ SEE ALSO π₯
go read these, they're all bangers, no skips:
π AUTHOR π
The e2tools were written by Keith Sheffield <sheff@pobox.com>. absolute legend, we stan π«Ά
This manual page was written by Lucas Wall <lwall@debian.org>, for the Debian project (but may be used by others). generous queen, sharing the docs with everyone π
and that's a wrap on E2TOOLS(7) bestie! this lil masterpiece dropped in March 2, 2005 as part of the Miscellaneous Information Manual. yeah, she's vintage, she's a classic, and she's still out here reading and writing ext2/ext3 filesystems with zero root access. we love a timeless icon πβπ
π¦ where this page comes from
- alpine 3.24: e2tools-doc 0.1.2-r1 Β· GPL-2.0-only
- debian bookworm: e2tools 0.1.0-3 Β· GPL-2.0-or-later
- debian trixie: e2tools 0.1.2-1 Β· GPL-2.0-or-later
- fedora 43: e2tools 0.1.0-14.fc43 Β· GPL-1.0-or-later
- fedora 44: e2tools 0.1.0-15.fc44 Β· GPL-1.0-or-later
- nixos 26.05: e2tools 0.1.2
- nixpkgs unstable: e2tools 0.1.2
- ubuntu jammy: e2tools 0.1.0-2 Β· GPL-2.0-or-later
- ubuntu noble: e2tools 0.1.0-3build2 Β· GPL-2.0-or-later
- ubuntu questing: e2tools 0.1.2-1
- ubuntu resolute: e2tools 0.1.2-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: e2tools 0.1.2-1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms