fsck.hfs man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

FSCK_HFS(8)		  BSD System Manager's Manual		   FSCK_HFS(8)

NAME
     fsck.hfsplus — HFS file system consistency check

SYNOPSIS
     fsck.hfsplus -q [-df] special ...
     fsck.hfsplus [-a | -p] [-df] special ...
     fsck.hfsplus [-n | -y | -r] [-dfgl] [-m mode] special ...

DESCRIPTION
     The fsck.hfsplus utility verifies and repairs standard HFS and HFS+ file
     systems.

     The first form of fsck.hfsplus quickly checks the specified file systems
     to determine whether they were cleanly unmounted.

     The second form of fsck.hfsplus preens the specified file systems.	 It is
     normally started by fsck(8) run from /etc/rc.boot during automatic
     reboot, when a HFS file system is detected.  When preening file systems,
     fsck.hfsplus will fix common inconsistencies for file systems that were
     not unmounted cleanly.  If more serious problems are found, fsck.hfsplus
     does not try to fix them, indicates that it was not successful, and
     exits.

     The third form of fsck.hfsplus checks the specified file systems and
     tries to repair all detected inconsistencies.

     If no options are specified fsck.hfsplus will always check and attempt to
     fix the specified file systems.

     The options are as follows:

	   -a	   This option does the same thing as the -p option.  It is
		   provided for backwards compatibility.

	   -d	   Display debugging information.  This option may provide
		   useful information when fsck.hfsplus cannot repair a dam‐
		   aged file system.

	   -f	   When used with the -p option, force fsck.hfsplus to check
		   `clean' file systems, otherwise it means force fsck.hfsplus
		   to check and repair journaled HFS+ file systems.

	   -g	   Causes fsck.hfsplus to generate it's output strings in GUI
		   format.  This option is used when another application with
		   a graphical user interface (like Mac OS X Disk Utility) is
		   envoking the fsck.hfsplus tool.

	   -l	   Lock down the file system and perform a test-only check.
		   This makes it possible to check a file system that is cur‐
		   rently mounted, although no repairs can be made.

	   -m mode Mode is an octal number that will be used to set the per‐
		   missions for the lost+found directory when it is created.
		   The lost+found directory is only created when a volume is
		   repaired and orphaned files or directories are detected.
		   fsck.hfsplus places orphaned files and directories into the
		   lost+found directory (located at the root of the volume).
		   The default mode is 01777.

	   -p	   Preen the specified file systems.

	   -q	   Causes fsck.hfsplus to quickly check whether the volume was
		   unmounted cleanly.  If the volume was unmounted cleanly,
		   then the exit status is 0.  If the volume was not unmounted
		   cleanly, then the exit status will be non-zero.  In either
		   case, a message is printed to standard output describing
		   whether the volume was clean or dirty.

	   -y	   Always attempt to repair any damage that is found.

	   -n	   Never attempt to repair any damage that is found.

	   -r	   Rebuild the catalog file on the specified file system.
		   This option currently will only work if there is enough
		   contiguous space on the specified file system for a new
		   catalog file and if there is no damage to the leaf nodes in
		   the existing catalog file.

     Because of inconsistencies between the block device and the buffer cache,
     the raw device should always be used.

SEE ALSO
     fsck(8)

BUGS
     fsck.hfsplus is not able to fix some inconsistencies that it detects.

HISTORY
     The fsck.hfsplus command appeared in Mac OS X Server 1.0 .

Mac OS X		       November 21, 2002		      Mac OS X
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net