Blame man/ostree-fsck.xml

Packit Service 2a3f3d
 
Packit Service 2a3f3d
Packit Service 2a3f3d
    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
Packit Service 2a3f3d
Packit Service 2a3f3d
Packit Service 2a3f3d
Copyright 2014 Anne LoVerso <anne.loverso@students.olin.edu>
Packit Service 2a3f3d
Packit Service 2a3f3d
SPDX-License-Identifier: LGPL-2.0+
Packit Service 2a3f3d
Packit Service 2a3f3d
This library is free software; you can redistribute it and/or
Packit Service 2a3f3d
modify it under the terms of the GNU Lesser General Public
Packit Service 2a3f3d
License as published by the Free Software Foundation; either
Packit Service 2a3f3d
version 2 of the License, or (at your option) any later version.
Packit Service 2a3f3d
Packit Service 2a3f3d
This library is distributed in the hope that it will be useful,
Packit Service 2a3f3d
but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 2a3f3d
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 2a3f3d
Lesser General Public License for more details.
Packit Service 2a3f3d
Packit Service 2a3f3d
You should have received a copy of the GNU Lesser General Public
Packit Service 2a3f3d
License along with this library; if not, write to the
Packit Service 2a3f3d
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Packit Service 2a3f3d
Boston, MA 02111-1307, USA.
Packit Service 2a3f3d
-->
Packit Service 2a3f3d
Packit Service 2a3f3d
<refentry id="ostree">
Packit Service 2a3f3d
Packit Service 2a3f3d
    <refentryinfo>
Packit Service 2a3f3d
        <title>ostree fsck</title>
Packit Service 2a3f3d
        <productname>OSTree</productname>
Packit Service 2a3f3d
Packit Service 2a3f3d
        <authorgroup>
Packit Service 2a3f3d
            <author>
Packit Service 2a3f3d
                <contrib>Developer</contrib>
Packit Service 2a3f3d
                <firstname>Colin</firstname>
Packit Service 2a3f3d
                <surname>Walters</surname>
Packit Service 2a3f3d
                <email>walters@verbum.org</email>
Packit Service 2a3f3d
            </author>
Packit Service 2a3f3d
        </authorgroup>
Packit Service 2a3f3d
    </refentryinfo>
Packit Service 2a3f3d
Packit Service 2a3f3d
    <refmeta>
Packit Service 2a3f3d
        <refentrytitle>ostree fsck</refentrytitle>
Packit Service 2a3f3d
        <manvolnum>1</manvolnum>
Packit Service 2a3f3d
    </refmeta>
Packit Service 2a3f3d
Packit Service 2a3f3d
    <refnamediv>
Packit Service 2a3f3d
        <refname>ostree-fsck</refname>
Packit Service 2a3f3d
        <refpurpose>Check the repository for consistency</refpurpose>
Packit Service 2a3f3d
    </refnamediv>
Packit Service 2a3f3d
Packit Service 2a3f3d
    <refsynopsisdiv>
Packit Service 2a3f3d
            <cmdsynopsis>
Packit Service 2a3f3d
                <command>ostree fsck</command><arg choice="opt" rep="repeat">OPTIONS</arg>
Packit Service 2a3f3d
            </cmdsynopsis>
Packit Service 2a3f3d
    </refsynopsisdiv>
Packit Service 2a3f3d
Packit Service 2a3f3d
    <refsect1>
Packit Service 2a3f3d
        <title>Description</title>
Packit Service 2a3f3d
Packit Service 2a3f3d
        <para>
Packit Service 2a3f3d
            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.
Packit Service 2a3f3d
        </para>
Packit Service 2a3f3d
    </refsect1>
Packit Service 2a3f3d
Packit Service 2a3f3d
    <refsect1>
Packit Service 2a3f3d
        <title>Options</title>
Packit Service 2a3f3d
Packit Service 2a3f3d
        <variablelist>
Packit Service 2a3f3d
            <varlistentry>
Packit Service 2a3f3d
                <term><option>--quiet</option>,<option>-q</option></term>
Packit Service 2a3f3d
                <listitem><para>
Packit Service 2a3f3d
                    Only print error messages.
Packit Service 2a3f3d
                </para></listitem>
Packit Service 2a3f3d
            </varlistentry>
Packit Service 2a3f3d
Packit Service 2a3f3d
            <varlistentry>
Packit Service 2a3f3d
                <term><option>--delete</option></term>
Packit Service 2a3f3d
                <listitem><para>
Packit Service 2a3f3d
                   Remove corrupted objects.
Packit Service 2a3f3d
                </para></listitem>
Packit Service 2a3f3d
            </varlistentry>
Packit Service 2a3f3d
Packit Service 2a3f3d
            <varlistentry>
Packit Service 2a3f3d
                <term><option>--add-tombstones</option></term>
Packit Service 2a3f3d
                <listitem><para>
Packit Service 2a3f3d
                   Add tombstone commit for referenced but missing commits.
Packit Service 2a3f3d
                </para></listitem>
Packit Service 2a3f3d
            </varlistentry>
Packit Service 2a3f3d
Packit Service 2a3f3d
            <varlistentry>
Packit Service 2a3f3d
                <term><option>--verify-bindings</option></term>
Packit Service 2a3f3d
                <listitem><para>
Packit Service 2a3f3d
                  Verify that the commits pointed to by each ref have that
Packit Service 2a3f3d
                  ref in the binding set.  You should usually add this
Packit Service 2a3f3d
                  option; it only defaults to off for backwards compatibility.
Packit Service 2a3f3d
                </para></listitem>
Packit Service 2a3f3d
            </varlistentry>
Packit Service 2a3f3d
Packit Service 2a3f3d
            <varlistentry>
Packit Service 2a3f3d
                <term><option>--verify-back-refs</option></term>
Packit Service 2a3f3d
                <listitem><para>
Packit Service 2a3f3d
                  Verify that all the refs listed in a commit’s ref-bindings
Packit Service 2a3f3d
                  point to that commit. This cannot be used in repositories
Packit Service 2a3f3d
                  where the target of refs is changed over time as new commits
Packit Service 2a3f3d
                  are added, but can be used in repositories which are
Packit Service 2a3f3d
                  regenerated from scratch for each commit.
Packit Service 2a3f3d
                  Implies <literal>--verify-bindings</literal> as well.
Packit Service 2a3f3d
                </para></listitem>
Packit Service 2a3f3d
            </varlistentry>
Packit Service 2a3f3d
        </variablelist>
Packit Service 2a3f3d
    </refsect1>
Packit Service 2a3f3d
Packit Service 2a3f3d
Packit Service 2a3f3d
    <refsect1>
Packit Service 2a3f3d
        <title>Example</title>
Packit Service 2a3f3d
        <para><command>$ ostree fsck</command></para>
Packit Service 2a3f3d
<programlisting>
Packit Service 2a3f3d
        Enumerating objects...
Packit Service 2a3f3d
        Verifying content integrity of of 2 commit objects
Packit Service 2a3f3d
        0/2572 objects
Packit Service 2a3f3d
        2571/2572 objects
Packit Service 2a3f3d
</programlisting>
Packit Service 2a3f3d
    </refsect1>
Packit Service 2a3f3d
</refentry>