FFSINFO(8)

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

πŸ’– ffsinfo(8) β€” the ufs meta-info dump bestie πŸ’–

okay so this is the FFSINFO(8) page from the System Manager's Manual, and it's literally about dumping all the meta info from an existing ufs file system. no cap, it's a whole vibe. πŸ¦‹

✨ NAME ✨

ffsinfo β€” dump all meta information of an existing ufs file system πŸ’…

🌸 SYNOPSIS 🌸

ffsinfo [-g cylinder_group] [-i inode] [-l level] [-o outfile] special | file

🧚 DESCRIPTION 🧚

okay so ffsinfo is the utility that extends dumpfs(8). it's giving β€œdumpfs but make it extra.” πŸ’–

the output is appended to the file outfile. also, bestie, expect that output file to be rather large β€” up to 2 percent of the size of the specified file system is not uncommon. 😭 no like literally huge. 🫢

the following options are available:

πŸ’… the options, bestie πŸ’…

  • -g cylinder_group β€” this restricts the dump to info about this cylinder group only. here 0 means the first cylinder group and -1 the last one. πŸŒ€
  • -i inode β€” this restricts the dump to info about this particular inode only. here the minimum acceptable inode is 2. if this option is omitted but a cylinder group is defined, then only inodes within that cylinder group are dumped. πŸ”
  • -l level β€” the level of detail that gets dumped. this value defaults to 255 and is the β€œbitwise or” of the following table:
    • 0x001 β€” initial superblock
    • 0x002 β€” superblock copies in each cylinder group
    • 0x004 β€” cylinder group summary in initial cylinder group
    • 0x008 β€” cylinder group information
    • 0x010 β€” inode allocation bitmap
    • 0x020 β€” fragment allocation bitmap
    • 0x040 β€” cluster maps and summary
    • 0x100 β€” inode information
    • 0x200 β€” indirect block dump
  • -o outfile β€” this sets the output filename where the dump is written to, and must be specified. if - is provided, output will be sent to stdout. πŸ“

πŸŽ€ EXAMPLES πŸŽ€

ffsinfo -o /var/tmp/ffsinfo -l 1023 /dev/md0

will dump /dev/md0 to /var/tmp/ffsinfo with all available information. slay. ✨

πŸ”₯ SEE ALSO πŸ”₯

ffs(4), dumpfs(8), fsck(8), gpart(8), growfs(8), newfs(8), tunefs(8) β€” go read these too, bestie. iykyk. 🫢

πŸ¦‹ HISTORY πŸ¦‹

the ffsinfo utility first appeared in FreeBSD 4.4. vintage icon behavior. πŸ‘‘

πŸ’œ AUTHORS πŸ’œ

  • Christoph Herrmann <chm@FreeBSD.org>
  • Thomas-Henning von Kamptz <tomsoft@FreeBSD.org>
  • The GROWFS team <growfs@Tomsoft.COM>

these are the legends behind it. periodt. 🫢

πŸ’€ BUGS πŸ’€

snapshots are handled like plain files. they should get their own level to provide for independent control of the amount of what gets dumped. it probably also makes sense to some extent to dump the snapshot as a file system. πŸ™ˆ

that's the tea β€” it's a known vibe check fail, not a mystery. 😭

πŸ’– sign-off: this is the Debian FFSINFO(8) manual page, dated January 23, 2025 β€” byeee bestie, go dump some meta info 🫢

πŸ“¦ 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