apfsck8
Check an apfs filesystem
Usage
apfsck [-cuvw]
[-F
tier2]
device
Overview
Unless you are an APFS developer, you are probably not interested in this tool. It's only intended for testing, and it could potentially be dangerous if run on a maliciously crafted filesystem.
apfsck is an experimental tool that checks an APFS filesystem for corruption. When an issue is found it is reported, but no repair is attempted. For that purpose, 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
apfsckand exit.
-
-w -
Report unexplained inconsistencies that may or may not be corruption.
-Ftier2-
Specify the tier 2 device for a fusion drive.
Exit status
The exit status is 0 if there was nothing to report, 1 otherwise.
Releases
3 releases since Debian 12 (Bookworm); the text changed 2 times.