DUMPFS(8)

πŸ“¦
version 15.1 Β· 2 versions
, in freebsd 15.1

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 a newfs(8) command that can be used to generate a new file system with equivalent settings. Please note that newfs(8) options -E, -R, -S, and -T are not handled and -p is not useful in this case so is omitted. Also, the newfs(8) options -n and -r are neither checked for nor output but should be. The -r flag is needed if the filesystem uses gjournal(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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms