1.\" 2.\" Copyright (c) 1980, 1989, 1991, 1993 3.\" The Regents of the University of California. All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" SUCH DAMAGE. 28.\" 29.\" @(#)fsck.8 8.4 (Berkeley) 5/9/95 |
30.\" $FreeBSD: stable/10/sbin/fsck_ffs/fsck_ffs.8 260178 2014-01-02 01:44:14Z scottl $ |
31.\" 32.Dd July 30, 2013 33.Dt FSCK_FFS 8 34.Os 35.Sh NAME 36.Nm fsck_ffs , 37.Nm fsck_ufs 38.Nd file system consistency check and interactive repair 39.Sh SYNOPSIS 40.Nm |
41.Op Fl BEFfnpRryZ |
42.Op Fl b Ar block 43.Op Fl c Ar level 44.Op Fl m Ar mode 45.Ar filesystem 46.Ar ... 47.Sh DESCRIPTION 48The specified disk partitions and/or file systems are checked. 49In "preen" or "check clean" mode the clean flag of each file system's --- 211 unchanged lines hidden (view full) --- 261Assume a no response to all questions asked by 262.Nm 263except for 264.Ql CONTINUE? , 265which is assumed to be affirmative; 266do not open the file system for writing. 267.It Fl p 268Preen file systems (see above). |
269.It Fl R 270Instruct fsck_ffs to restart itself if it encounters certain errors that 271warrant another run. It will limit itself to a maximum of 10 restarts 272in a given run in order to avoid an endless loop with extremely corrupted 273filesystems. |
274.It Fl r 275Free up excess unused inodes. 276Decreasing the number of preallocated inodes reduces the 277running time of future runs of 278.Nm 279and frees up space that can allocated to files. 280The 281.Fl r --- 114 unchanged lines hidden --- |