'\" t .\" Title: ostree fsck .\" Author: Colin Walters .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 03/26/2024 .\" Manual: ostree fsck .\" Source: OSTree .\" Language: English .\" .TH "OSTREE FSCK" "1" "" "OSTree" "ostree fsck" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ostree-fsck \- Check the repository for consistency .SH "SYNOPSIS" .HP \w'\fBostree\ fsck\fR\ 'u \fBostree fsck\fR [OPTIONS...] .SH "DESCRIPTION" .PP Checks the repository to verify the content integrity of commit objects\&. Looks for missing and corrupted objects and metadata, and validates directory structure and metadata\&. .SH "OPTIONS" .PP \fB\-\-quiet\fR,\fB\-q\fR .RS 4 Only print error messages\&. .RE .PP \fB\-\-delete\fR .RS 4 Remove corrupted objects\&. .RE .PP \fB\-\-add\-tombstones\fR .RS 4 Add tombstone commit for referenced but missing commits\&. .RE .PP \fB\-\-verify\-bindings\fR .RS 4 Verify that the commits pointed to by each ref have that ref in the binding set\&. You should usually add this option; it only defaults to off for backwards compatibility\&. .RE .PP \fB\-\-verify\-back\-refs\fR .RS 4 Verify that all the refs listed in a commit\(cqs ref\-bindings point to that commit\&. This cannot be used in repositories where the target of refs is changed over time as new commits are added, but can be used in repositories which are regenerated from scratch for each commit\&. Implies \-\-verify\-bindings as well\&. .RE .SH "EXAMPLE" .PP \fB$ ostree fsck\fR .sp .if n \{\ .RS 4 .\} .nf Enumerating objects\&.\&.\&. Verifying content integrity of of 2 commit objects 0/2572 objects 2571/2572 objects .fi .if n \{\ .RE .\}