1.\" Copyright (c) 2019 Tomohiro Kusumi <tkusumi@netbsd.org>
2.\" Copyright (c) 2019 The DragonFly Project
3.\" All rights reserved.
4.\"
5.\" This code is derived from software contributed to The DragonFly Project
6.\" by Matthew Dillon <dillon@backplane.com>
7.\"
8.\" Redistribution and use in source and binary forms, with or without
9.\" modification, are permitted provided that the following conditions
10.\" are met:
11.\"
12.\" 1. Redistributions of source code must retain the above copyright
13.\"    notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright
15.\"    notice, this list of conditions and the following disclaimer in
16.\"    the documentation and/or other materials provided with the
17.\"    distribution.
18.\" 3. Neither the name of The DragonFly Project nor the names of its
19.\"    contributors may be used to endorse or promote products derived
20.\"    from this software without specific, prior written permission.
21.\"
22.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
25.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
26.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
27.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
28.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
30.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
31.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
32.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.Dd October 6, 2019
36.Dt FSCK_HAMMER2 8
37.Os
38.Sh NAME
39.Nm fsck_hammer2
40.Nd HAMMER2 file system consistency checker
41.Sh SYNOPSIS
42.Nm
43.Op Fl f
44.Op Fl v
45.Op Fl q
46.Op Fl b
47.Op Fl p
48.Op Fl l Ar pfs_name
49.Ar special
50.Sh DESCRIPTION
51The
52.Nm
53utility verifies
54.Tn HAMMER2
55file system.
56There is currently no file system repairing.
57.Bl -tag -width indent
58.It Fl f
59Force option.
60.It Fl v
61Verbose option.
62.It Fl q
63Quiet option.
64.It Fl b
65Scan only best zone.
66.It Fl p
67Scan each PFS separately.
68.It Fl l
69Specify PFS to scan when
70.Fl p
71is used.
72.El
73.Sh SEE ALSO
74.Xr fsck 8 ,
75.Xr hammer2 8 ,
76.Xr newfs_hammer2 8 ,
77.Xr mount_hammer2 8
78.Sh HISTORY
79The
80.Nm
81utility appeared in
82.Dx 5.7 .
83.Sh AUTHORS
84.An Tomohiro Kusumi Aq Mt tkusumi@netbsd.org
85