| OSTREE FSCK(1) | ostree fsck | OSTREE FSCK(1) |
.SH "NAME" ostree-fsck - Check the repository for consistency
.SH "SYNOPSIS"
.HP 288u
ostree fsck [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 --quiet,-q
Only print error messages.
.RE
.PP --delete
Remove corrupted objects.
.RE
.PP --add-tombstones
Add tombstone commit for referenced but missing commits.
.RE
.PP --verify-bindings
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 --verify-back-refs
Verify that all the refs listed in a commit’s 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 $ ostree fsck
Enumerating objects...
Verifying content integrity of of 2 commit objects
0/2572 objects
2571/2572 objects
| OSTree |