logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dump.erofs - retrieve directory and file entries, show specific file or overall disk statistics

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>

Availability

dump.erofs     is     part     of      erofs-utils      package      and      is      available      from
       git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git.

Description

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.

Name

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

Options

--device=path
              Specify an extra device to be used together.  You  may  give  multiple  --device  options  in  the
              correct order.

       --ls   List directory contents.  NID or path required.

       --cat  Write file content to standard output.  NID or path required.

       --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.

       -h, --help
              Display help string and exit.

       -s     Show superblock information.  This is the default if no options are specified.

       -S     Show  image  statistics,  including  file  type/size distribution, number of (un)compressed files,
              compression ratio, etc.

See Also

mkfs.erofs(1),fsck.erofs(1)DUMP.EROFS(1)

Synopsis

dump.erofs [OPTIONS] IMAGE

See Also