mojave man page for fsck_apfs

Query: fsck_apfs

OS: mojave

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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

NAME
fsck_apfs -- APFS consistency check
SYNOPSIS
fsck_apfs [-q | -n | -y] [-l] [-s] [-S] [-o] 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. The options are as follows: -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. -l Enable live verification mode. This makes it possible to check an APFS container which is currently mounted read-write, although no repairs can be made. -s Print space verification summary. -S Skip iteration of snapshots (top-level snapshot structures will still be checked), although no repairs can be made. -o Repair overallocations; please do not run an older fsck_apfs on newer systems with this option.
EXIT VALUES
fsck_apfs exits 0 on success, and >0 if error occurs.
SEE ALSO
fsck(8) Mac OS X March 6, 2018 Mac OS X
Related Man Pages
fsck_apfs(8) - mojave
fsck_hfs(8) - mojave
fsck_hfs(8) - osx
fsck.hfsplus(8) - php
fsck.hfsplus(8) - hpux
Similar Topics in the Unix Linux Community
need help with oracle repair script
If condition to check one file newer than the other - first file name uncertain
Aperture: Use locally mounted Mac OS X Extended volumes for your Aperture library
difference between zones and containers
InDesign Repair