DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Managing the VxFS filesystem

fsck_vxfs sanity check

The -m option of fsck(ADM) is used by mountall(ADM) to determine if filesystems need to be checked before they can be mounted.

The VxFS-specific fsck_vxfs(ADM) checks for a valid superblock to see if the filesystem is in the CLEAN state. The checks are performed differently for the root filesystem and for other filesystems. In all cases, a message is displayed on standard error output, and the program terminates with an exit code. If the filesystem is not mounted as the root filesystem, the exit codes are:


0
The filesystem is clean.

32
The filesystem needs checking.

33
The filesystem is already mounted.

34
There was an error when attempting to access the filesystem.
If the file is mounted as the root filesystem, the exit codes are:

0
The root filesystem is mounted read-only and is clean, or the root filesystem is mounted read/write (and is therefore clean).

32
The root filesystem is mounted read-only and needs checking.

34
There was an error when attempting to access the filesystem.

Next topic: fsck_vxfs intent log replay
Previous topic: fsck_vxfs superblock verification phase

© 2007 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 05 June 2007