Deleted Added
full compact
3.t (66861) 3.t (72640)
1.\" Copyright (c) 1982, 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) 1982, 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/3.t 66861 2000-10-09 08:26:35Z adrian $
32.\" $FreeBSD: head/sbin/fsck_ffs/SMM.doc/3.t 72640 2001-02-18 10:25:42Z asmodai $
33.\" @(#)3.t 8.1 (Berkeley) 6/5/93
34.\"
35.ds RH Fixing corrupted file systems
36.NH
37Fixing corrupted file systems
38.PP
39A file system
40can become corrupted in several ways.

--- 306 unchanged lines hidden (view full) ---

347.PP
348.I Fsck_ffs
349also checks for directories with unallocated blocks (holes).
350Such directories should never be created.
351When found,
352.I fsck_ffs
353will prompt the user to adjust the length of the offending directory
354which is done by shortening the size of the directory to the end of the
33.\" @(#)3.t 8.1 (Berkeley) 6/5/93
34.\"
35.ds RH Fixing corrupted file systems
36.NH
37Fixing corrupted file systems
38.PP
39A file system
40can become corrupted in several ways.

--- 306 unchanged lines hidden (view full) ---

347.PP
348.I Fsck_ffs
349also checks for directories with unallocated blocks (holes).
350Such directories should never be created.
351When found,
352.I fsck_ffs
353will prompt the user to adjust the length of the offending directory
354which is done by shortening the size of the directory to the end of the
355last allocated block preceeding the hole.
355last allocated block preceding the hole.
356Unfortunately, this means that another Phase 1 run has to be done.
357.I Fsck_ffs
358will remind the user to rerun fsck_ffs after repairing a
359directory containing an unallocated block.
360.PP
361If a directory entry inode number references
362outside the inode list, then
363.I fsck_ffs

--- 90 unchanged lines hidden ---
356Unfortunately, this means that another Phase 1 run has to be done.
357.I Fsck_ffs
358will remind the user to rerun fsck_ffs after repairing a
359directory containing an unallocated block.
360.PP
361If a directory entry inode number references
362outside the inode list, then
363.I fsck_ffs

--- 90 unchanged lines hidden ---