apfsck(8)

πŸ“¦
version 0.2.1 Β· 5 versions
, in arch rolling, nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

✨ apfsck β€” check an APFS filesystem ✨

okay so bestie, welcome to the apfsck(8) page πŸ’– it lives in section 8 of the System Manager's Manual, and it's about to do a full vibe check on your APFS filesystem.

🌸 SYNOPSIS 🌸

apfsck [-cuvw] [-F tier2] device

πŸ¦‹ DESCRIPTION πŸ¦‹

ngl, unless you're literally an APFS developer, you are probably not the target audience here. This tool is only intended for testing, periodt. And it could potentially be dangerous if you run it on a maliciously crafted filesystem. So like… be careful, okay? 😭

apfsck is an experimental tool that checks an APFS filesystem for corruption. When it finds an issue, it reports it β€” but it does not attempt any repair. Not even a little. For that whole fixing situation you should use the official tools provided by Apple. πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • -c β€” Report if the filesystem shows signs of a recent crash. 🫠
  • -u β€” Report the presence of unknown/unsupported features.
  • -v β€” Print the version number of apfsck and exit. slay, short and sweet ✨
  • -w β€” Report unexplained inconsistencies that may or may not be corruption. it's giving "we don't know but we're saying it anyway" πŸ™ˆ
  • -F tier2 β€” Specify the tier 2 device for a fusion drive. πŸ”₯

🌈 EXIT STATUS 🌈

The exit status is 0 if there was nothing to report, and 1 otherwise.


πŸŽ€ REPORTING BUGS πŸŽ€

Please report bugs via email or, if preferred, file a github issue at https://github.com/eafer/apfsprogs/issues. bestie, they want to hear from you, fr fr 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Written by Ernesto A. FernΓ‘ndez <ernesto.mnd.fernandez@gmail.com>.


⭐ SEE ALSO ⭐


and that's the whole page, no cap πŸ’œ this was apfsprogs version 0.2.1, dated June 2025 β€” tysm for reading, mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from