Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fsck(1M) — Motorola System V 88k Release 4 Version 4.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

checkfsys(1M)

fsck_bfs(1M)

fsck_s5(1M)

fsck_ufs(1M)

mkfs(1M)

vfstab(4)

fsck(1M)  —  ADMINISTRATOR COMMANDS

NAME

fsck (generic) − check and repair file systems

SYNOPSIS

fsck [−F FSType] [−V] [−m] [file_system . . .]
fsck [−F FSType] [−V] [current_options] [−o specific_options] [file_system . . .]

DESCRIPTION

fsck audits and interactively repairs inconsistent conditions for file systems.  If the file system is inconsistent the user is prompted for concurrence before each correction is attempted.  It should be noted that some corrective actions will result in some loss of data.  The amount and severity of data loss may be determined from the diagnostic output.  The default action for each correction is to wait for the user to respond yes or no.  If the user does not have write permission fsck defaults to a no action. 

The file system should be unmounted when fsck is used.  If this is not possible, care should be taken that the system is quiescent and that it is rebooted immediately afterwards if the file system is a critical one, for example root. 

current_options are options supported by the s5-specific module of fsck.  Other FSTypes do not necessarily support these options.  specific_options indicate ­suboptions specified in a comma-separated list of suboptions and/or keyword-­attribute pairs for interpretation by the FSType-specific module of the command.  See fsck_FSType(1M) for details. 

special represents a block or character special device (e.g., /dev/rdsk/∗, where the value of ∗ is machine dependent).  It is preferable that a character special device be used.  fsck will not work on a block device if it is mounted.  If special is not supplied, fsck looks through /etc/vfstab and executes fsck for all character specials in the fsckdev field of /etc/vfstab for which there is a numeric entry in the fsckpass field. 

The options are:

−F Specify the FSType on which to operate.  The FSType should either be specified here or be determinable from /etc/vfstab by matching the special with an entry in the table. 

−V Echo the complete command line, but do not execute the command.  The command line is generated by using the options and arguments provided by the user and adding to them information derived from /etc/vfstab.  This option should be used to verify and validate the command line. 

−m Check but don’t repair.  This option checks that the file system is suitable for mounting. 

−o Specify FSType-specific options. 

NOTE

This command may not be supported for all FSTypes.  For some FSTypes, the raw device must be specified, not the block device.  For some FSTypes, the mount point directory name may be specified instead. 

FILES

/etc/vfstab list of default parameters for each file system

SEE ALSO

checkfsys(1M), fsck_bfs(1M), fsck_s5(1M), fsck_ufs(1M), mkfs(1M), vfstab(4). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026