1 <!-- Creator : groff version 1.21 -->
2 <!-- CreationDate: Mon Jul 14 01:50:03 2014 -->
3 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
4 "http://www.w3.org/TR/html4/loose.dtd">
7 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org">
8 <meta http-equiv=
"Content-Type" content=
"text/html; charset=US-ASCII">
9 <meta name=
"Content-Style" content=
"text/css">
10 <style type=
"text/css">
11 p
{ margin-top: 0; margin-bottom: 0; vertical-align: top
}
12 pre
{ margin-top: 0; margin-bottom: 0; vertical-align: top
}
13 table
{ margin-top: 0; margin-bottom: 0; vertical-align: top
}
14 h1
{ text-align: center
}
16 <title>FSCK_HFS
</title>
21 <h1 align=
"center">FSCK_HFS
</h1>
23 <a href=
"#NAME">NAME
</a><br>
24 <a href=
"#SYNOPSIS">SYNOPSIS
</a><br>
25 <a href=
"#DESCRIPTION">DESCRIPTION
</a><br>
26 <a href=
"#OPTIONS">OPTIONS
</a><br>
27 <a href=
"#EXIT STATUS">EXIT STATUS
</a><br>
28 <a href=
"#BUGS">BUGS
</a><br>
29 <a href=
"#AVAILABILITY">AVAILABILITY
</a><br>
39 <p style=
"margin-left:11%; margin-top: 1em">fsck_hfs
40 − check and repair an HFS+ volume
</p>
43 <a name=
"SYNOPSIS"></a>
48 <p style=
"margin-left:11%; margin-top: 1em"><b>fsck_hfs
</b>
49 [
<i>options
</i>]
<i>device
</i></p>
52 <a name=
"DESCRIPTION"></a>
57 <p style=
"margin-left:11%; margin-top: 1em"><i><b>fsck_hfs
</b></i>
58 will check an HFS+ volume for errors, and optionally correct
59 them. Run fsck_hfs without arguments for a full list of
63 <a name=
"OPTIONS"></a>
67 <p style=
"margin-left:11%; margin-top: 1em">Below is a
68 summary of all the options that
<b>fsck_hfs
</b> accepts.
</p>
70 <table width=
"100%" border=
"0" rules=
"none" frame=
"void"
71 cellspacing=
"0" cellpadding=
"0">
72 <tr valign=
"top" align=
"left">
77 <p><b>−q
</b></p></td>
82 <p>Do only a quick test to check if the file-system will
83 mount properly. This is useful when you want to do a fast
84 check to find out if the volume was unmounted cleanly. It
85 returns a non non-zero exit value if the volume was not
86 unmounted cleanly, otherwise an exit value of
0 is
87 returned.
</p> </td></tr>
88 <tr valign=
"top" align=
"left">
93 <p><b>−d
</b></p></td>
98 <p>Verbose output. This is useful for debugging when
99 <b>fsck_hfs
</b> cannot repair a corrupted HFS+ volume.
</p></td></tr>
100 <tr valign=
"top" align=
"left">
101 <td width=
"11%"></td>
105 <p><b>−f
</b></p></td>
110 <p>Force
<b>fsck_hfs
</b> to check and repair journaled HFS+
111 file-system. When used with
<b>−p
</b> option, forces
112 <b>fsck_hfs
</b> to check
’clean
’ file
113 systems.
</p> </td></tr>
114 <tr valign=
"top" align=
"left">
115 <td width=
"11%"></td>
119 <p><b>−l
</b></p></td>
124 <p>Lock the file-system and perform a read-only check. This
125 is useful when you want to check a mounted volume, without
126 trying to repair it.
</p></td></tr>
129 <p style=
"margin-left:11%;"><b>−m
</b> MODE
</p>
131 <p style=
"margin-left:22%;">Set permissions for the
132 lost+found directory when created. It accepts an octal value
133 that will be used to set the permission.
<b>fsck_hfs
</b>
134 places orphaned files and directories in lost+found
135 directory (located in the root directory). Default mode is
138 <table width=
"100%" border=
"0" rules=
"none" frame=
"void"
139 cellspacing=
"0" cellpadding=
"0">
140 <tr valign=
"top" align=
"left">
141 <td width=
"11%"></td>
145 <p><b>−p
</b></p></td>
150 <p>Preen the specified file-system.
</p></td>
155 <p style=
"margin-left:11%;"><b>−c
</b> SIZE
</p>
157 <p style=
"margin-left:22%;">Specify the internal cache size
158 used by
<b>fsck_hfs
</b>. Bigger size can ensure better
159 performance but can deadlock when used with
<b>−l
</b>
160 option. It accepts size value as an argument, which can be a
161 decimal, octal, or a hexadecimal number. Numbers ending with
162 a
’k
’,
’m
’ or
’g
’ are
163 multiplied by
1024 (
1K),
1048576 (
1M) or
1073741824 (
1G),
166 <table width=
"100%" border=
"0" rules=
"none" frame=
"void"
167 cellspacing=
"0" cellpadding=
"0">
168 <tr valign=
"top" align=
"left">
169 <td width=
"11%"></td>
173 <p><b>−r
</b></p></td>
178 <p>Rebuild the catalog file on the specified
179 file-system.
</p> </td></tr>
180 <tr valign=
"top" align=
"left">
181 <td width=
"11%"></td>
185 <p><b>−y
</b></p></td>
190 <p>Always try to repair every corruption that is found.
</p></td></tr>
191 <tr valign=
"top" align=
"left">
192 <td width=
"11%"></td>
196 <p><b>−n
</b></p></td>
201 <p>Never try to repair any corruption that is found.
</p></td></tr>
205 <a name=
"EXIT STATUS"></a>
209 <p style=
"margin-left:11%; margin-top: 1em"><b>0</b>:
210 Success quick test, file-system was cleanly unmounted.
212 3</b>: File-system Dirty, no checks.
<b><br>
213 4</b>: Writeable Root File-system was fixed.
<b><br>
214 8</b>: Standard error exit.
</p>
221 <p style=
"margin-left:11%; margin-top: 1em">If you find a
222 bug please send an email describing the problem to
223 hfs-support@tuxera.com.
</p>
226 <a name=
"AVAILABILITY"></a>
231 <p style=
"margin-left:11%; margin-top: 1em"><b>fsck_hfs
</b>
232 is part of the
<b>Tuxera HFS+
</b> package.
</p>