logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

apfsck - check an APFS filesystem

Author

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

Description

       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.

Exit Status

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

Name

       apfsck - check an APFS filesystem

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.

       -w     Report unexplained inconsistencies that may or may not be corruption.

       -Ftier2
              Specify the tier 2 device for a fusion drive.

Reporting Bugs

       Please    report    bugs    via    email    or,    if    preferred,    file    a    github    issue    at
       https://github.com/eafer/apfsprogs/issues.

See Also

mkapfs(8)

apfsprogs 0.2.0                                   November 2024                                        apfsck(8)

Synopsis

apfsck [-cuvw] [-F tier2] device

See Also