Amiga Unix — 68040 · 68060

Manual pages › System administration commands (1M)

checkfsys(1M)

check a file system

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

NAME

checkfsys - check a file system

SYNOPSIS

checkfsys

DESCRIPTION

The checkfsys command allows you to check for and optionally
repair  a damaged file system.  The command invokes a visual
interface (the check task available through the sysadm  com-
mand).   The  initial prompt allows you to select the device
that contains the filesystem.  Then you are asked to specify
the type of checking.  The following choices are available:
check only
     Check the file system.  No repairs are attempted.

interactive fix

Repair the file system interactively. You are informed about each instance of damage and asked if it should be repaired.

automatic fix

Repair the file system automatically. The program applies a standard repair to each instance of damage.

The identical function is available under the sysadm menu:

sysadm check

NOTES

While automatic and interactive checks are generally successful, they can occasionally lose a file or a file's name. Files with content but without names are put in the file-system/lost+found directory. If it is important not to lose data, check the file system first to see if it appears to be damaged. If it does, use one of the repair options of the task.

DIAGNOSTICS

The checkfsys command exits with one of the following values:

0    Normal exit.

2    Invalid command syntax.  A usage message is displayed.

7 The visual interface for this command is not available because it cannot invoke fmli. (The FMLI package is not installed or is corrupted.)

SEE ALSO

fsck(1M), makefsys(1M), mountfsys(1M), sysadm(1M).