Tuxera NTFS driver
[tomato.git] / release / src-rt-6.x.4708 / router / tuxera / broadcom_arm / hfsplus / docs / html / fsck_hfs.html
blobfd806e01b74716d673e94c7dac78939b02b37788
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">
5 <html>
6 <head>
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 }
15 </style>
16 <title>FSCK_HFS</title>
18 </head>
19 <body>
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>
31 <hr>
34 <h2>NAME
35 <a name="NAME"></a>
36 </h2>
39 <p style="margin-left:11%; margin-top: 1em">fsck_hfs
40 &minus; check and repair an HFS+ volume</p>
42 <h2>SYNOPSIS
43 <a name="SYNOPSIS"></a>
44 </h2>
48 <p style="margin-left:11%; margin-top: 1em"><b>fsck_hfs</b>
49 [<i>options</i>] <i>device</i></p>
51 <h2>DESCRIPTION
52 <a name="DESCRIPTION"></a>
53 </h2>
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
60 options.</p>
62 <h2>OPTIONS
63 <a name="OPTIONS"></a>
64 </h2>
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">
73 <td width="11%"></td>
74 <td width="3%">
77 <p><b>&minus;q</b></p></td>
78 <td width="8%"></td>
79 <td width="78%">
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">
89 <td width="11%"></td>
90 <td width="3%">
93 <p><b>&minus;d</b></p></td>
94 <td width="8%"></td>
95 <td width="78%">
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>
102 <td width="3%">
105 <p><b>&minus;f</b></p></td>
106 <td width="8%"></td>
107 <td width="78%">
110 <p>Force <b>fsck_hfs</b> to check and repair journaled HFS+
111 file-system. When used with <b>&minus;p</b> option, forces
112 <b>fsck_hfs</b> to check &rsquo;clean&rsquo; file
113 systems.</p> </td></tr>
114 <tr valign="top" align="left">
115 <td width="11%"></td>
116 <td width="3%">
119 <p><b>&minus;l</b></p></td>
120 <td width="8%"></td>
121 <td width="78%">
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>
127 </table>
129 <p style="margin-left:11%;"><b>&minus;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
136 01777.</p>
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>
142 <td width="3%">
145 <p><b>&minus;p</b></p></td>
146 <td width="8%"></td>
147 <td width="49%">
150 <p>Preen the specified file-system.</p></td>
151 <td width="29%">
152 </td></tr>
153 </table>
155 <p style="margin-left:11%;"><b>&minus;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>&minus;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 &rsquo;k&rsquo;, &rsquo;m&rsquo; or &rsquo;g&rsquo; are
163 multiplied by 1024 (1K), 1048576 (1M) or 1073741824 (1G),
164 respectively.</p>
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>
170 <td width="3%">
173 <p><b>&minus;r</b></p></td>
174 <td width="8%"></td>
175 <td width="78%">
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>
182 <td width="3%">
185 <p><b>&minus;y</b></p></td>
186 <td width="8%"></td>
187 <td width="78%">
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>
193 <td width="3%">
196 <p><b>&minus;n</b></p></td>
197 <td width="8%"></td>
198 <td width="78%">
201 <p>Never try to repair any corruption that is found.</p></td></tr>
202 </table>
204 <h2>EXIT STATUS
205 <a name="EXIT STATUS"></a>
206 </h2>
209 <p style="margin-left:11%; margin-top: 1em"><b>0</b>:
210 Success quick test, file-system was cleanly unmounted.
211 <b><br>
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>
216 <h2>BUGS
217 <a name="BUGS"></a>
218 </h2>
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>
225 <h2>AVAILABILITY
226 <a name="AVAILABILITY"></a>
227 </h2>
231 <p style="margin-left:11%; margin-top: 1em"><b>fsck_hfs</b>
232 is part of the <b>Tuxera HFS+</b> package.</p>
233 <hr>
234 </body>
235 </html>