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