Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fsck(1m) [hpux man page]

fsck(1M)																  fsck(1M)

NAME
fsck - file system consistency check and interactive repair SYNOPSIS
FSType] [special ...] FSType] FSspecific-options] [special ...] DESCRIPTION
The command audits and interactively repairs inconsistent conditions for HP-UX file systems on mass storage device files identified by spe- cial. If the file system is consistent, the number of files on that file system and the number of used and free blocks are reported. If the file system is inconsistent, provides a mechanism to fix these inconsistencies, depending on which form of the command is used. special represents a special device (for example, Options recognizes the following options: Specify the file system type on which to operate (see fstyp(1M) and fs_wrapper(5)). If this option is not included on the command line, then the file system type is determined from the file by matching special with an entry in that file. If there is no entry in then the file sys- tem type is determined from the file Perform a sanity check only. will return 0 if the file system is suitable for mounting. If the file system needs additional checking, the return code is 32. If the file system is mounted, the return code is 33. Error codes larger than 33 indicate that the file system is badly damaged. Specify options specific to each file system type. FSspecific-options is a list of suboptions and/or keyword/attribute pairs intended for a file-system-specific version of the command. See the file-system-specific manual entries for a description of the specific_options supported, if any. Safe performance mode. To improve performance, a system wide will not be issued. This feature is underlying file system dependent. Echo the completed command line, but perform no other action. The command line is generated by incorporating the user-specified options and other information derived from This option allows the user to verify the command line. RETURN VALUE
The following values are returned by the option to Either no errors were detected or all errors were corrected. The file system needs additional checking. The file system is mounted. Return values greater that indicate that file system is badly corrupted. File system specific versions of will have their own additional return values (see fsck_cachefs(1M), fsck_hfs(1M), or fsck_vxfs(1M)). WARNINGS
This command may not be supported for all file system types. If this command returns the message "Can't send after socket shutdown", check with your system administrator to make sure the is running properly. FILES
Specifies the default file system type Default list of file systems to check SEE ALSO
fsck_cachefs(1M), fsck_hfs(1M), fsck_vxfs(1M), mkfs(1M), newfs(1M), fstab(4), fs_wrapper(5), disk(7). STANDARDS CONFORMANCE
fsck(1M)

Check Out this Related Man Page

fsdb(1M)																  fsdb(1M)

NAME
fsdb - file system debugger (generic) SYNOPSIS
FStype] specific_options] special Remarks Always execute the command (see fsck(1M)) after running DESCRIPTION
The command can be used to patch up a damaged file system after a crash. It is intended for experienced users only. The file system type to be debugged is specified as FStype. Each file system type has a unique structure requiring different debugging capabilities. The man- ual entries for the file-system-specific should be consulted before attempting any debugging or modifications. Options and Arguments recognizes the following options and arguments: special The file name of the special file containing the file system. Specify the file system type on which to operate (see fstyp(1M) and fs_wrapper(5)). If this option is not included on the command line, then the file system type is determined from the file by matching special with an entry in that file. If there is no entry in then the file sys- tem type is determined from the file Specify suboptions specific to each file system type. specific_options is a comma-separated list of suboptions and/or keyword/attribute pairs supported by the specific FStype. Echo the completed command line, but perform no other action. The command line is generated by incorporating the user-specified options and other information derived from the file. This option allows the user to verify the command line. EXAMPLES
Invoke the file system debugger on HFS file system Display a completed command line without executing the debugger: The previous command might display: WARNINGS
Only experienced users should use The failure to fully understand the usage of and the file system's internal organization can lead to com- plete destruction of the file system and total loss of data. AUTHOR
was developed by HP and AT&T. FILES
Specifies the default file system type Static information about the file systems SEE ALSO
fsck(1M), fsdb_hfs(1M), fsdb_vxfs(1M), fstyp(1M), stat(2), fs_wrapper(5), disk(7). STANDARDS CONFORMANCE
fsdb(1M)
Man Page