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

f
fsck_hfs(1M) fsck_hfs(1M)
Checking the raw device is almost always faster.
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.
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.
SEE ALSO
dumpfs(1M), fsck(1M), fsck_vxfs(1M), fsclean(1M), mkfs(1M), newfs(1M), shutdown(1M), fstab(4), acl(5),
fs_wrapper(5).
STANDARDS CONFORMANCE
fsck: SVID3
HP-UX 11i Version 2: September 2004 3 Hewlett-Packard Company Section 1M225