FSCK(1M)
argument is used as the scratch file, if needed. Without the -t flag,
fsck will prompt the operator for the name of the scratch file. The file
chosen should not be on the file system being checked, and if it is not
a special file or did not already exist, it is removed when fsck com-
pletes.
-q
Quiet fsck. Do not print size-check messages in Phase 1. Unrefer-
enced fifos will silently be removed. If fsck requires it, counts in the
superblock will be automatically fixed and the free list salvaged.
-D
Directories are checked for bad blocks. Useful after system crashes.
-f
Fast check. Check block and sizes (Phase 1) and check the free list
(Phase 5). The free list will be reconstructed (Phase 6) if it is neces-
sary.
If no file-systems are specified, fsck will read a list of default file systems from
the file /etc/checklist.
Inconsistencies checked are as follows:
1.
Blocks claimed by more than one inode or the free list.
2.
Blocks claimed by an inode or the free list outside the range of the
file system.
3.
incorrect link counts.
4.
Size checks:
5.
Bad inode format.
6.
Blocks not accounted for anywhere.
7.
Directory checks:
8.
Super Block checks:
9.
Bad free block list tormat.
10. Total free block and/or free inode count incorrect.
Orphaned files and directories (allocated but unreferenced) are, with the
operator 's concurrence, reconnected by placing them in the lost+found
directory, if the files are nonempty. The user will be notified if the file or
directory is empty or not. If it is empty, fsck will silently remove them. Fsck
will force the reconnection of nonempty directories. The name assigned is
the inode number. The only restriction is that the directory lost+found
must preexist in the root of the file system being checked and must have
empty slots in which entries can be made. This is accomplished by making
lost+found, copying a number of files to the directory, and then removing
them (before fsck is executed).
Checking the raw device is almost always faster and should be used with
everything but the root file system.
Dfsck
Dfsck allows two file system checks on two different drives simultaneously,
(options1 and options2 are used to pass options to fsck for the two sets of file
Version 1.0
Silicon Graphics
Incorrect number of blocks.
Directory size not 16-byte aligned.
File pointing to unallocated inode.
inode number out of range.
More than 65536 inodes.
More blocks for inodes than there are in the file system.
- 2 -
FSCK(1M)
October 1984
Need help?
Do you have a question about the IRIS Workstation and is the answer not in the manual?
Questions and answers