manpagez: man(ual) pages & more
man fsck_apfs(8)
Home | html | info | man

fsck_apfs(8)              BSD System Manager's Manual             fsck_apfs(8)


NAME

     fsck_apfs -- APFS consistency check


SYNOPSIS

     fsck_apfs [-n | -y] [-fpq] device ...


DESCRIPTION

     The fsck_apfs utility verifies and repairs APFS containers and volumes.

     fsck_apfs checks the specified APFS containers and volumes and tries to
     repair all detected inconsistencies.

     Because of inconsistencies between the block device and the buffer cache,
     the raw device should always be used.

     In its current state, fsck_apfs checks the integrity of various container
     data structures. We do not check for overlapping allocations.

     The options are as follows:

           -f      Force fsck_apfs to check `clean' file systems. Currently
                   unimplemented.

           -q      Causes fsck_apfs to quickly check whether the volume is
                   `clean'.

           -n      Never attempt to repair any damage that is found.

           -y      Always attempt to repair any damage that is found.


EXIT VALUES

     fsck_apfs exits 0 on success, and >0 if error occurs.


SEE ALSO

     fsck(8)

Mac OS X                       December 3, 2015                       Mac OS X

Mac OS X 10.12.3 - Generated Fri Feb 10 07:39:34 CST 2017
© manpagez.com 2000-2017
Individual documents may contain additional copyright information.