|
Lines 131-140
Link Here
|
| 131 |
.Ql ad0 , |
131 |
.Ql ad0 , |
| 132 |
and |
132 |
and |
| 133 |
.Ql da0 |
133 |
.Ql da0 |
| 134 |
are being searched in that order, until one is |
134 |
are searched in that order, until one is found to respond. |
| 135 |
being found responding. |
|
|
| 136 |
.Pp |
135 |
.Pp |
| 137 |
When called with no arguments, it prints the sector 0 partition table. |
136 |
When called with no arguments, |
|
|
137 |
.Nm |
| 138 |
prints the sector 0 partition table. |
| 138 |
An example follows: |
139 |
An example follows: |
| 139 |
.Bd -literal |
140 |
.Bd -literal |
| 140 |
******* Working on device /dev/ad0 ******* |
141 |
******* Working on device /dev/ad0 ******* |
|
Lines 180-197
Link Here
|
| 180 |
.It Em "flag 80" |
181 |
.It Em "flag 80" |
| 181 |
specifies that this is the active partition. |
182 |
specifies that this is the active partition. |
| 182 |
.It Em cyl , sector No and Em head |
183 |
.It Em cyl , sector No and Em head |
| 183 |
fields are used to specify the beginning address |
184 |
fields are used to specify the beginning and end addresses of the partition. |
| 184 |
and end address for the partition. |
|
|
| 185 |
.It Em Note : |
185 |
.It Em Note : |
| 186 |
these numbers are calculated using BIOS's understanding of the disk geometry |
186 |
these numbers are calculated using BIOS's understanding of the disk geometry |
| 187 |
and saved in the bootblock. |
187 |
and saved in the bootblock. |
| 188 |
.El |
188 |
.El |
| 189 |
.Pp |
189 |
.Pp |
| 190 |
The flags |
190 |
The |
| 191 |
.Fl i |
191 |
.Fl i |
| 192 |
or |
192 |
or |
| 193 |
.Fl u |
193 |
.Fl u |
| 194 |
are used to indicate that the partition data is to be updated, unless the |
194 |
flags are used to indicate that the partition data is to be updated, unless the |
| 195 |
.Fl f |
195 |
.Fl f |
| 196 |
option is used. If the |
196 |
option is used. If the |
| 197 |
.Fl f |
197 |
.Fl f |
|
Lines 203-209
Link Here
|
| 203 |
selects defaults for its questions to guarantee the above behavior. |
203 |
selects defaults for its questions to guarantee the above behavior. |
| 204 |
.Pp |
204 |
.Pp |
| 205 |
It displays each partition |
205 |
It displays each partition |
| 206 |
and ask if you want to edit it. |
206 |
and asks whether you want to edit it. |
| 207 |
If you say yes, |
207 |
If you say yes, |
| 208 |
it will step through each field showing the old value |
208 |
it will step through each field showing the old value |
| 209 |
and asking for a new one. |
209 |
and asking for a new one. |
|
Lines 227-246
Link Here
|
| 227 |
.Em active |
227 |
.Em active |
| 228 |
partition. |
228 |
partition. |
| 229 |
Finally, |
229 |
Finally, |
| 230 |
when the all the data for the first sector has been accumulated, |
230 |
when all the data for sector 0 has been accumulated, |
| 231 |
you are asked if you really want to rewrite sector 0. |
231 |
you are asked to confirm whether you really want to rewrite it. |
| 232 |
Only if you answer yes, |
|
|
| 233 |
will the data be written to disk. |
| 234 |
.Pp |
232 |
.Pp |
| 235 |
The difference between the |
233 |
The difference between the |
| 236 |
.Fl u |
234 |
.Fl u |
| 237 |
flag and |
235 |
and |
| 238 |
.Fl i |
236 |
.Fl i |
| 239 |
flag is that |
237 |
flags is that |
| 240 |
the |
238 |
the |
| 241 |
.Fl u |
239 |
.Fl u |
| 242 |
flag just edits the fields as they appear on the disk. |
240 |
flag just edits (updates) the fields as they appear on the disk, |
| 243 |
While the |
241 |
while the |
| 244 |
.Fl i |
242 |
.Fl i |
| 245 |
flag is used to "initialize" sector 0; |
243 |
flag is used to "initialize" sector 0; |
| 246 |
it will setup the last BIOS partition to use the whole disk for |
244 |
it will setup the last BIOS partition to use the whole disk for |
|
Lines 248-256
Link Here
|
| 248 |
and make it active. |
246 |
and make it active. |
| 249 |
.Sh NOTES |
247 |
.Sh NOTES |
| 250 |
The automatic calculation of starting cylinder etc. uses |
248 |
The automatic calculation of starting cylinder etc. uses |
| 251 |
a set of figures that represent what the BIOS thinks is the |
249 |
a set of figures that represent what the BIOS thinks the |
| 252 |
geometry of the drive. |
250 |
geometry of the drive is. |
| 253 |
These figures are by default taken from the incore disklabel, |
251 |
These figures are taken from the incore disklabel by default, |
| 254 |
but the program initially gives you an opportunity to change them. |
252 |
but the program initially gives you an opportunity to change them. |
| 255 |
This allows the user to create a bootblock that can work with drives |
253 |
This allows the user to create a bootblock that can work with drives |
| 256 |
that use geometry translation under the BIOS. |
254 |
that use geometry translation under the BIOS. |
|
Lines 276-282
Link Here
|
| 276 |
from a |
274 |
from a |
| 277 |
.Ar configfile . |
275 |
.Ar configfile . |
| 278 |
The syntax of this file is very simple. Each line is either a comment or |
276 |
The syntax of this file is very simple. Each line is either a comment or |
| 279 |
a specification, and whitespace (except for newlines) are ignored: |
277 |
a specification, and whitespace (except for newlines) is not significant: |
| 280 |
.Bl -tag -width Ds |
278 |
.Bl -tag -width Ds |
| 281 |
.It Xo |
279 |
.It Xo |
| 282 |
.Ic # |
280 |
.Ic # |