DUMPFS(8)
DUMPFS(8) β dump UFS file system information π
Manual page alert: this one is DUMPFS(8), bestie, and it is all about spilling the tea on your UFS file system β¨
πΈ NAME πΈ
dumpfs β dump UFS file system information, no cap π
π SYNOPSIS π
dumpfs [-f] [-l] [-m] [-s] filesys | device
π« DESCRIPTION π«
Okay so the dumpfs utility prints out the UFS super block and cylinder group information for the file system or special device you specify β unless you pass the -f, -l, -m, or -s flag, because then it does that specific thing instead. The listing is very long and detailed. Like, very. It is useful mostly for finding out certain file system information such as the file system block size and minimum free space percentage. Iconic little detective tool, honestly π
Here are the flags and what they do:
-fβ prints a sorted list of all free fragments and free fragment ranges, as represented in cylinder group block free lists. If the flag is specified twice, contiguous free fragments are not collapsed into ranges and instead printed in a simple list. Fragment numbers may be converted to raw byte offsets by multiplying by the fragment size, which may be useful when recovering deleted data. Tiny math moment, but make it forensics π-lβ prints the pathname to the file systemβs container derived from its unique identifier. Itβs giving βwhere does this file system actually liveβ energy π‘-mβ prints anewfs(8)command that can be used to generate a new file system with equivalent settings. Please note thatnewfs(8)options-E,-R,-S, and-Tare not handled and-pis not useful in this case so is omitted. Also, thenewfs(8)options-nand-rare neither checked for nor output but should be. The-rflag is needed if the filesystem usesgjournal(8). Read that caveat twice, bestie, because it is important π«Ά-sβ prints only the super block information. Short and sweet, a little minimal queen moment π
And the thing at the end of the synopsis, filesys | device, is literally your file system or special device. Give the command one of those and it will do its thing β¨
π₯ SEE ALSO π₯
Go read those too, iykyk ππ
π¦ HISTORY π¦
The dumpfs utility appeared in 4.2BSD. Vintage behavior, honestly π
π Debian, July 2, 2021 β DUMPFS(8) signing off, bestie, stay slay and check your super block π«Άβ¨
π¦ where this page comes from
- freebsd 15.1: base 15.1
- Copyright (c) 1983, 1991, 1993 The Regents of the University of California. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms