Advertisement
grahamperrin

manual page for fsck_cs — Mac OS X 10.7.3 (Build 11D50)

Feb 18th, 2012
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.08 KB | None | 0 0
  1. FSCK_CS(8) BSD System Manager's Manual FSCK_CS(8)
  2.  
  3. NAME
  4. fsck_cs -- Verify and repair CoreStorage logical volume groups.
  5.  
  6. SYNOPSIS
  7. fsck_cs -q device ...
  8. fsck_cs -p device ...
  9. fsck_cs [-y | -n] [-x | -g] [-l logfile] device ...
  10.  
  11. DESCRIPTION
  12. The fsck_cs utility verifies and repairs CoreStorage logical volume
  13. groups.
  14.  
  15. The device parameter(s) should be path(s) to the "raw" disk device(s) (a
  16. character special device), such as /dev/rdisk1s1 that constitute the
  17. CoreStorage logical volume group. If you specify a "non-raw" path (a
  18. block special device) such as /dev/disk1s1, or just the disk name such as
  19. disk1s1, it will automatically be converted to the corresponding raw disk
  20. device (/dev/rdisk1s1).
  21.  
  22. Alternatively device can be specified as the UUID of the CoreStorage log-
  23. ical volume group or as the mountpoint of a CoreStorage-hosted logical
  24. volume.
  25.  
  26. The options are as follows:
  27.  
  28. -q Performs a "quick" check and indicates if any corrup-
  29. tions were found via the exit status. In this mode
  30. logical volumes are not checked, nor is proactive MLV
  31. scrubbing performed.
  32.  
  33. -p Operates in "preen" mode. MLV mirror blocks are
  34. repaired where necessary. Newer transactions may be
  35. invalidated to force a roll-back to an older, but con-
  36. sistent, filesystem state.
  37.  
  38. -y Causes fsck_cs to assume "yes" as the answer to all
  39. questions. In other words, always attempt to repair
  40. any errors that are found.
  41.  
  42. -n Causes fsck_cs to assume "no" as the answer to all
  43. questions. In other words, never attempt to repair any
  44. errors that are found.
  45.  
  46. -x Causes fsck_cs to produce its output in an XML-like
  47. (plist) format. This option is used when another
  48. application with a graphical user interface (like Mac
  49. OS X Disk Utility) is invoking the fsck_cs tool and
  50. processing the output.
  51.  
  52. -g Causes fsck_cs to produce its output in GUI-compatible
  53. form. This is similar in usage to the -x option.
  54.  
  55. -l logfile Reproduce all console output, as well as additional
  56. status and error messages, to the specified file.
  57.  
  58. DIAGNOSTICS
  59. The fsck_cs utility exits with 0 if no corruption was detected or if all
  60. corruptions were repaired, and with >0 if any unrepaired corruption
  61. remains.
  62.  
  63. BUGS
  64. fsck_cs does not perform an exhaustive validation, nor is it able to fix
  65. many of the inconsistencies that it does detect.
  66.  
  67. HISTORY
  68. The fsck_cs utility first appeared along with CoreStorage in Mac OS X
  69. 10.7.0.
  70.  
  71. Darwin July 22, 2011 Darwin
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement