DUMP.EROFS(1)

πŸ“¦
version 1.9.4 Β· 5 versions
, in alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ DUMP.EROFS ✨

okay bestie, gather round, because dump.erofs is one of those little tools that's lowkey iconic once you know what it does. it's a General Commands Manual girlie, and it lives in the erofs-utils family πŸ’–

🌸 NAME 🌸

dump.erofs β€” retrieve directory and file entries, show specific file or overall disk statistics information from an EROFS-formatted image.

like. it dumps. it tells you things. it's giving detective energy πŸ”βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

dump.erofs [OPTIONS] IMAGE

that's it, that's the whole vibe. one IMAGE, and whatever OPTIONS your heart desires 🫢


πŸ’… DESCRIPTION πŸ’…

so here's the tea: dump.erofs is used to retrieve erofs metadata and data from IMAGE and demonstrate

  1. overall disk statistics,
  2. superblock information,
  3. file information of the given inode NID,
  4. file extent information of the given inode NID,
  5. file content for the given inode NID.

five things!! it's a whole menu, not a single dish, and honestly? we stan a multitasker πŸ‘‘


🌈 OPTIONS 🌈

  • --device=path β€” specify an extra device to be used together. and yes bestie, you may give multiple --device options, as long as you put them in the correct order. order matters, no cap πŸ™ˆ
  • --ls β€” list directory contents. NID or path required, so don't come in here empty-handed πŸ’€
  • --cat β€” write file content to standard output. NID or path required. yes it's the cat you're thinking of, it's literally that 🐱
  • --nid=NID β€” specify an inode NID in order to print its file information.
  • --path=path β€” specify an inode path in order to print its file information.
  • -e β€” show the file extent information. NID or path required πŸ”₯
  • -V, --version β€” print the version number and exit. short and sweet, we love a clean exit ✨
  • -h, --help β€” display help string and exit.
  • -s β€” show superblock information. this is the default if no options are specified, so if you just run it bare, this is the one that shows up. main character energy, honestly πŸ‘‘
  • -S β€” show image statistics, including file type/size distribution, number of (un)compressed files, compression ratio, etc. the full glow-up report πŸ“Š

πŸ’œ AUTHOR πŸ’œ

initial code was written by Wang Qi <mpiglet@outlook.com>, Guo Xuenan <guoxuenan@huawei.com>.

this manual page was written by Guo Xuenan <guoxuenan@huawei.com>

shoutout to the devs, fr fr 🫢


πŸ¦‹ AVAILABILITY πŸ¦‹

dump.erofs is part of the erofs-utils package and is available from

git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git.

go get it, bestie 🧚


⭐ SEE ALSO ⭐

the whole friend group. make the filesystem, check the filesystem, dump the filesystem β€” it's giving found family 🌸


and that's a wrap!! this page comes to you from the General Commands Manual section, and it's still rocking that same DUMP.EROFS(1) energy at the bottom of the page as it does at the top. periodt πŸ’…πŸ’–βœ¨
πŸ“¦ where this page comes from