0013-Fix-manpages.patch 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. From: =?UTF-8?q?Rog=C3=A9rio=20Theodoro=20de=20Brito?= <rbrito@ime.usp.br>
  2. Date: Thu, 25 Nov 2010 00:00:00 -0200
  3. Subject: Fix manpages
  4. MIME-Version: 1.0
  5. Content-Type: text/plain; charset=UTF-8
  6. Content-Transfer-Encoding: 8bit
  7. Remove typos, references in the "See also" sections of the manpages to
  8. commands that are not available in Debian systems (and, quite probably,
  9. other systems too) and non-Linux specific comments.
  10. Authored also by Christoph Hellwig <hch@lst.de> and "A. Costa" <agcosta@gis.net>
  11. Bug-Debian: http://bugs.debian.org/598714
  12. Bug-Debian: http://bugs.debian.org/575201
  13. Forwarded: no
  14. Reviewed-by: Rogério Theodoro de Brito <rbrito@ime.usp.br>
  15. ---
  16. fsck_hfs.tproj/fsck_hfs.8 | 18 +++++++-----------
  17. newfs_hfs.tproj/newfs_hfs.8 | 23 ++++++++---------------
  18. 2 files changed, 15 insertions(+), 26 deletions(-)
  19. diff --git a/fsck_hfs.tproj/fsck_hfs.8 b/fsck_hfs.tproj/fsck_hfs.8
  20. index aec9949..0bc804d 100644
  21. --- a/fsck_hfs.tproj/fsck_hfs.8
  22. +++ b/fsck_hfs.tproj/fsck_hfs.8
  23. @@ -19,18 +19,18 @@
  24. .Dt FSCK_HFS 8
  25. .Os "Mac OS X"
  26. .Sh NAME
  27. -.Nm fsck_hfs
  28. +.Nm fsck.hfs
  29. .Nd HFS file system consistency check
  30. .Sh SYNOPSIS
  31. -.Nm fsck_hfs
  32. +.Nm fsck.hfs
  33. .Fl q
  34. .Op Fl df
  35. .Ar special ...
  36. -.Nm fsck_hfs
  37. +.Nm fsck.hfs
  38. .Fl p
  39. .Op Fl df
  40. .Ar special ...
  41. -.Nm fsck_hfs
  42. +.Nm fsck.hfs
  43. .Op Fl n | y | r
  44. .Op Fl dfgl
  45. .Op Fl m Ar mode
  46. @@ -52,9 +52,7 @@ The second form of
  47. preens the specified file systems.
  48. It is normally started by
  49. .Xr fsck 8
  50. -run from
  51. -.Pa /etc/rc.boot
  52. -during automatic reboot, when a HFS file system is detected.
  53. +during systen boot, when a HFS file system is detected.
  54. When preening file systems,
  55. .Nm
  56. will fix common inconsistencies for file systems that were not
  57. @@ -105,9 +103,9 @@ to check and repair journaled HFS+ file systems.
  58. .It Fl g
  59. Causes
  60. .Nm
  61. -to generate it's output strings in GUI format.
  62. +to generate its output strings in GUI format.
  63. This option is used when another application with a graphical user interface
  64. -(like Mac OS X Disk Utility) is envoking the
  65. +(like Mac OS X Disk Utility) is invoking the
  66. .Nm
  67. tool.
  68. .It Fl l
  69. @@ -144,8 +142,6 @@ specified file system for a new catalog file and if there is no damage
  70. to the leaf nodes in the existing catalog file.
  71. .El
  72. .Pp
  73. -Because of inconsistencies between the block device and the buffer cache,
  74. -the raw device should always be used.
  75. .Sh SEE ALSO
  76. .Xr fsck 8
  77. .Sh BUGS
  78. diff --git a/newfs_hfs.tproj/newfs_hfs.8 b/newfs_hfs.tproj/newfs_hfs.8
  79. index d002cc9..fe91962 100644
  80. --- a/newfs_hfs.tproj/newfs_hfs.8
  81. +++ b/newfs_hfs.tproj/newfs_hfs.8
  82. @@ -19,10 +19,10 @@
  83. .Dt NEWFS_HFS 8
  84. .Os "Mac OS X"
  85. .Sh NAME
  86. -.Nm newfs_hfs
  87. +.Nm mkfs.hfs
  88. .Nd construct a new HFS Plus file system
  89. .Sh SYNOPSIS
  90. -.Nm newfs_hfs
  91. +.Nm mkfs.hfs
  92. .Op Fl N Ar [partition-size]
  93. .Op Fl U Ar uid
  94. .Op Fl G Ar gid
  95. @@ -37,19 +37,13 @@
  96. .Op Fl v Ar volume-name
  97. .Ar special
  98. .Sh DESCRIPTION
  99. -.Nm Newfs_hfs
  100. +.Nm mkfs.hfs
  101. builds an HFS Plus file system on the specified special device.
  102. -Before running
  103. -.Nm newfs_hfs
  104. -the disk should be partitioned using the
  105. -.Em Disk Utility
  106. -application or
  107. -.Xr pdisk 8 .
  108. .Pp
  109. The file system default parameters are calculated based on
  110. the size of the disk partition. Typically the defaults are
  111. reasonable, however
  112. -.Nm newfs_hfs
  113. +.Nm mkfs.hfs
  114. has several options to allow the defaults to be selectively overridden.
  115. The options are as follows:
  116. .Bl -tag -width Fl
  117. @@ -66,7 +60,7 @@ Set the group of the file system's root directory to
  118. Specify the access permissions mask for the file system's root directory.
  119. .It Fl h
  120. Creates a legacy HFS format filesystem. This option
  121. -is not recomended for file systems that will be
  122. +is not recommended for file systems that will be
  123. primarily used with Mac OS X or Darwin.
  124. .It Fl s
  125. Creates a case-sensitive HFS Plus filesystem. By
  126. @@ -93,7 +87,7 @@ sizes are specified with the
  127. option followed by a comma
  128. separated list of the form arg=blocks.
  129. .Pp
  130. -Example: -c c=5000,e=500
  131. +Example: \-c c=5000,e=500
  132. .Bl -tag -width Fl
  133. .It Em a=blocks
  134. Set the attribute file clump size.
  135. @@ -126,7 +120,7 @@ the form arg=bytes. The
  136. size must be a power of two and no larger than
  137. 32768 bytes.
  138. .Pp
  139. -Example: -n c=8192,e=4096
  140. +Example: \-n c=8192,e=4096
  141. .Bl -tag -width Fl
  142. .It Em a=bytes
  143. Set the attribute b-tree node size.
  144. @@ -139,8 +133,7 @@ Set the extent overflow b-tree node size.
  145. Volume name (file system name) in ascii or UTF-8 format.
  146. .El
  147. .Sh SEE ALSO
  148. -.Xr mount 8 ,
  149. -.Xr pdisk 8
  150. +.Xr mount 8
  151. .Sh HISTORY
  152. The
  153. .Nm