0.t (96707) | 0.t (102231) |
---|---|
1.\" Copyright (c) 1986, 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) 1986, 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.\" $FreeBSD: head/sbin/fsck_ffs/SMM.doc/0.t 96707 2002-05-16 04:10:46Z trhodes $ | 32.\" $FreeBSD: head/sbin/fsck_ffs/SMM.doc/0.t 102231 2002-08-21 18:11:48Z trhodes $ |
33.\" @(#)0.t 8.1 (Berkeley) 6/8/93 34.\" 35.if n .ND 36.TL 37Fsck_ffs \- The UNIX\(dg File System Check Program 38.EH 'SMM:3-%''The \s-2UNIX\s+2 File System Check Program' 39.OH 'The \s-2UNIX\s+2 File System Check Program''SMM:3-%' 40.AU --- 17 unchanged lines hidden (view full) --- 58This work was done under grants from 59the National Science Foundation under grant MCS80-05144, 60and the Defense Advance Research Projects Agency (DoD) under 61Arpa Order No. 4031 monitored by Naval Electronic System Command under 62Contract No. N00039-82-C-0235. 63.FE 64This document reflects the use of 65.I fsck_ffs | 33.\" @(#)0.t 8.1 (Berkeley) 6/8/93 34.\" 35.if n .ND 36.TL 37Fsck_ffs \- The UNIX\(dg File System Check Program 38.EH 'SMM:3-%''The \s-2UNIX\s+2 File System Check Program' 39.OH 'The \s-2UNIX\s+2 File System Check Program''SMM:3-%' 40.AU --- 17 unchanged lines hidden (view full) --- 58This work was done under grants from 59the National Science Foundation under grant MCS80-05144, 60and the Defense Advance Research Projects Agency (DoD) under 61Arpa Order No. 4031 monitored by Naval Electronic System Command under 62Contract No. N00039-82-C-0235. 63.FE 64This document reflects the use of 65.I fsck_ffs |
66with the 4.2BSD and 4.3BSD filesystem organization. This | 66with the 4.2BSD and 4.3BSD file system organization. This |
67is a revision of the 68original paper written by 69T. J. Kowalski. 70.PP 71File System Check Program (\fIfsck_ffs\fR) | 67is a revision of the 68original paper written by 69T. J. Kowalski. 70.PP 71File System Check Program (\fIfsck_ffs\fR) |
72is an interactive filesystem check and repair program. | 72is an interactive file system check and repair program. |
73.I Fsck_ffs 74uses the redundant structural information in the | 73.I Fsck_ffs 74uses the redundant structural information in the |
75UNIX filesystem to perform several consistency checks. | 75UNIX file system to perform several consistency checks. |
76If an inconsistency is detected, it is reported 77to the operator, who may elect to fix or ignore 78each inconsistency. 79These inconsistencies result from the permanent interruption | 76If an inconsistency is detected, it is reported 77to the operator, who may elect to fix or ignore 78each inconsistency. 79These inconsistencies result from the permanent interruption |
80of the filesystem updates, which are performed every | 80of the file system updates, which are performed every |
81time a file is modified. 82Unless there has been a hardware failure, 83.I fsck_ffs | 81time a file is modified. 82Unless there has been a hardware failure, 83.I fsck_ffs |
84is able to repair corrupted filesystems | 84is able to repair corrupted file systems |
85using procedures based upon the order in which UNIX honors | 85using procedures based upon the order in which UNIX honors |
86these filesystem update requests. | 86these file system update requests. |
87.PP 88The purpose of this document is to describe the normal updating | 87.PP 88The purpose of this document is to describe the normal updating |
89of the filesystem, 90to discuss the possible causes of filesystem corruption, | 89of the file system, 90to discuss the possible causes of file system corruption, |
91and to present the corrective actions implemented 92by 93.I fsck_ffs. 94Both the program and the interaction between the 95program and the operator are described. 96.sp 2 97.LP 98Revised October 7, 1996 --- 4 unchanged lines hidden (view full) --- 103.B "TABLE OF CONTENTS" 104.LP 105.sp 1 106.nf 107.B "1. Introduction" 108.LP 109.sp .5v 110.nf | 91and to present the corrective actions implemented 92by 93.I fsck_ffs. 94Both the program and the interaction between the 95program and the operator are described. 96.sp 2 97.LP 98Revised October 7, 1996 --- 4 unchanged lines hidden (view full) --- 103.B "TABLE OF CONTENTS" 104.LP 105.sp 1 106.nf 107.B "1. Introduction" 108.LP 109.sp .5v 110.nf |
111.B "2. Overview of the filesystem | 111.B "2. Overview of the file system |
1122.1. Superblock 1132.2. Summary Information 1142.3. Cylinder groups 1152.4. Fragments | 1122.1. Superblock 1132.2. Summary Information 1142.3. Cylinder groups 1152.4. Fragments |
1162.5. Updates to the filesystem | 1162.5. Updates to the file system |
117.LP 118.sp .5v 119.nf | 117.LP 118.sp .5v 119.nf |
120.B "3. Fixing corrupted filesystems | 120.B "3. Fixing corrupted file systems |
1213.1. Detecting and correcting corruption 1223.2. Super block checking 1233.3. Free block checking 1243.4. Checking the inode state 1253.5. Inode links 1263.6. Inode data size 1273.7. Checking the data associated with an inode 1283.8. File system connectivity --- 23 unchanged lines hidden --- | 1213.1. Detecting and correcting corruption 1223.2. Super block checking 1233.3. Free block checking 1243.4. Checking the inode state 1253.5. Inode links 1263.6. Inode data size 1273.7. Checking the data associated with an inode 1283.8. File system connectivity --- 23 unchanged lines hidden --- |