DUMPSEG(8)
๐พ DUMPSEG โ the dumpseg(8) page, but make it cute โจ
okay bestie, gather round, because we're about to talk about dumpseg from the System Manager's Manual section 8, and honestly? it's giving forensic girlboss ๐๐
๐ธ NAME ๐ธ
dumpseg โ print segment information of NILFS2 ๐ฆ
โจ SYNOPSIS โจ
dumpseg [-hV]
dumpseg [device|node] segment-number ...
๐ DESCRIPTION ๐
so, the dumpseg program is an analysis tool for on-disk logs of a NILFS2 file system found in device. It shows you the configuration of every single log stored in the segments you specify with one or more *segment-number*s. no cap, every log. ๐
and when we say segment here, we mean a contiguous lump of disk blocks that acts as the allocation unit of NILFS2 disk space. that's the vibe. ๐งฑ
device can be a block device, or it can be a filesystem node (a file or a directory) sitting on the filesystem. either one works, she's flexible like that. ๐ซถ
and if you just... don't give her a device at all? she tries to find an active NILFS2 file system from /proc/mounts. she'll go looking for her own snack. iconic. ๐
heads up bestie:dumpsegis a tool for debugging rather than administration. she's backstage, not front-of-house. if you want a summary of segments,lssu(1)is available instead. different girl, different job. ๐
๐ OPTIONS ๐
-h,--helpโ Display help message and exit. (she tells you how she works, then dips โ๏ธ)-V,--versionโ Display version and exit. (just the number, then gone ๐)
๐ฅ FIELD DESCRIPTION ๐ฅ
dumpseg shows the configuration of each log with these fields, and each field gets printed in the style of `field-name = value`. cute little key-value moment, we love a consistent format. โญ
creation timeโ Creation date and time of the log. ๐ฐ๏ธnfinfoโ Number of file information summaries.finfoโ File information summary. This information starts with the following fields:inoโ Inode number of the file.cnoโ Number of the checkpoint that the blocks included in the file belong to. For normal writings, this is equal to the latest checkpoint number. For the writings involved in garbage collection, this indicates a past checkpoint number. ๐๏ธโก๏ธโจnblocksโ Number of blocks of the file written in the log. This number is a sum of the number of data blocks and B-tree node blocks. The contents of these blocks are written serially in the payload part of the log. Only modified or newly created blocks are written to each log. no unnecessary rewrites, she's efficient ๐ndatblkโ Number of data blocks of the file written in the log.
- Then, for each update block in the file, the following information will follow these headings. ๐
vblocknrโ Virtual block number. Not printed for data blocks of the Disk Address Translation file (DAT file).blkoffโ Block offset number. Not printed for B-tree node blocks except for the DAT file.levelโ Level of B-tree node block. Printed only for the DAT file.blocknrโ Block address on the device. This is not an actual field in the summary but is calculated from the disk address of each log. (she's doing math behind the scenes, respect her ๐งฎ)
๐ AUTHOR ๐
Koji Sato ๐
๐ AVAILABILITY ๐
dumpseg is part of the nilfs-utils package and is available from https://nilfs.sourceforge.io. go get her ๐๏ธ
๐ SEE ALSO ๐
and that's the whole page, bestie!! this was nilfs-utils version 2.3, dated Jan 2026 โ sending you all the segment-analysis energy, mwah ๐๐๐ฆ
๐ฆ where this page comes from
- alpine 3.24: nilfs-utils-doc 2.3.0-r0 ยท GPL-2.0-or-later
- arch rolling: nilfs-utils 2.3.1-1 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- nixpkgs unstable: nilfs-utils 2.3.1
- Copyright (C) 2007-2012 Nippon Telegraph and Telephone Corporation
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms