fsck_ffs.8 (22990) | fsck_ffs.8 (23675) |
---|---|
1.\" Copyright (c) 1980, 1989, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 15 unchanged lines hidden (view full) --- 24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" | 1.\" Copyright (c) 1980, 1989, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 15 unchanged lines hidden (view full) --- 24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" |
32.\" @(#)fsck.8 8.2 (Berkeley) 12/11/93 33.|' $Id$ | 32.\" @(#)fsck.8 8.4 (Berkeley) 5/9/95 33.|' $Id: fsck.8,v 1.8 1997/02/22 14:32:23 peter Exp $ |
34.\" | 34.\" |
35.Dd December 11, 1993 | 35.Dd May 9, 1995 |
36.Dt FSCK 8 37.Os BSD 4 38.Sh NAME 39.Nm fsck 40.Nd filesystem consistency check and interactive repair 41.Sh SYNOPSIS 42.Nm fsck 43.Fl p --- 26 unchanged lines hidden (view full) --- 70are checked one at a time. 71When pass 1 completes, all remaining filesystems are checked, 72running one process per disk drive. 73The disk drive containing each filesystem is inferred from the longest prefix 74of the device name that ends in a digit; the remaining characters are assumed 75to be the partition designator. 76.Pp 77The clean flag of each filesystem's superblock is examined and only those filesystems that | 36.Dt FSCK 8 37.Os BSD 4 38.Sh NAME 39.Nm fsck 40.Nd filesystem consistency check and interactive repair 41.Sh SYNOPSIS 42.Nm fsck 43.Fl p --- 26 unchanged lines hidden (view full) --- 70are checked one at a time. 71When pass 1 completes, all remaining filesystems are checked, 72running one process per disk drive. 73The disk drive containing each filesystem is inferred from the longest prefix 74of the device name that ends in a digit; the remaining characters are assumed 75to be the partition designator. 76.Pp 77The clean flag of each filesystem's superblock is examined and only those filesystems that |
78are not marked clean are checked. If the | 78are not marked clean are checked. 79Filesystems are marked clean when they are unmounted, 80when they have been mounted read-only, or when 81.Nm fsck 82runs on them successfully. 83If the |
79.Fl f 80option is specified, the filesystems 81will be checked regardless of the state of their clean flag. 82.Pp 83The kernel takes care that only a restricted class of innocuous filesystem 84inconsistencies can happen unless hardware or software failures intervene. 85These are limited to the following: 86.Bl -item -compact --- 97 unchanged lines hidden (view full) --- 184except for 185.Ql CONTINUE? , 186which is assumed to be affirmative; 187do not open the filesystem for writing. 188.It Fl c 189Convert the filesystem to the specified level. 190Note that the level of a filesystem can only be raised. 191.Bl -tag -width indent | 84.Fl f 85option is specified, the filesystems 86will be checked regardless of the state of their clean flag. 87.Pp 88The kernel takes care that only a restricted class of innocuous filesystem 89inconsistencies can happen unless hardware or software failures intervene. 90These are limited to the following: 91.Bl -item -compact --- 97 unchanged lines hidden (view full) --- 189except for 190.Ql CONTINUE? , 191which is assumed to be affirmative; 192do not open the filesystem for writing. 193.It Fl c 194Convert the filesystem to the specified level. 195Note that the level of a filesystem can only be raised. 196.Bl -tag -width indent |
192There are currently three levels defined: | 197There are currently four levels defined: |
193.It 0 194The filesystem is in the old (static table) format. 195.It 1 196The filesystem is in the new (dynamic table) format. 197.It 2 198The filesystem supports 32-bit uid's and gid's, 199short symbolic links are stored in the inode, 200and directories have an added field showing the file type. | 198.It 0 199The filesystem is in the old (static table) format. 200.It 1 201The filesystem is in the new (dynamic table) format. 202.It 2 203The filesystem supports 32-bit uid's and gid's, 204short symbolic links are stored in the inode, 205and directories have an added field showing the file type. |
206.It 3 207If maxcontig is greater than one, 208build the free segment maps to aid in finding contiguous sets of blocks. 209If maxcontig is equal to one, delete any existing segment maps. |
|
201.El 202.Pp 203In interactive mode, 204.Nm fsck 205will list the conversion to be made 206and ask whether the conversion should be done. 207If a negative answer is given, 208no further operations are done on the filesystem. --- 91 unchanged lines hidden --- | 210.El 211.Pp 212In interactive mode, 213.Nm fsck 214will list the conversion to be made 215and ask whether the conversion should be done. 216If a negative answer is given, 217no further operations are done on the filesystem. --- 91 unchanged lines hidden --- |