HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

f
fsck_hfs(1M) fsck_hfs(1M)
RETURN VALUE
fsck returns the following values:
0 Either no errors were detected or all errors were corrected.
1 A syntax error or other operational error occurred when invoked with the -V option.
4 Root file system errors were corrected. The system must be rebooted.
8 Some uncorrected errors exist on one or more of the file systems checked, there was a syntax
error, or some other operational error occurred.
12 A signal was caught during processing.
31 The open of the device file failed.
32 The file system is unmounted and needs additional checking.
33 The file system is mounted.
34 The file system is damaged.
WARNINGS
fsck should not be run on mounted file systems or on the root device. If you do run on mounted file sys-
tems, be sure the system is in single-user state (see shutdown(1M)).
The special case of the -c option, -c 0, will disable all internal caches, which will reduce memory usage
but may impact performance.
The -F option, from prior releases, has been replaced by the -f option.
AUTHOR
fsck was developed by HP, AT&T, the University of California, Berkeley.
FILES
/etc/fstab Default list of file systems to check.
/var/adm/sbtab List of locations of the superblocks for file systems. The
mkfs command appends
entries to this file.
STANDARDS CONFORMANCE
fsck: SVID3
SEE ALSO
fsck(1M), fsck_vxfs(1M), dumpfs(1M), fsclean(1M), mkfs(1M), newfs(1M), shutdown(1M), fstab(4), fs(4),
inode(4), fs_wrapper(5), acl(5).
Section 1M262 Hewlett-Packard Company 3 HP-UX 11i Version 1: September 2005