phk
a28f269dc8
MFC: use g_ctl for modifying metadata if possible.
...
Approved by: re@
2005-08-16 22:45:33 +00:00
scottl
697ffbd79b
Document how to make boot0cfg work on mounted disks.
2005-04-07 20:04:55 +00:00
ru
c05985f13f
Sort sections.
2005-01-18 20:02:45 +00:00
ru
6cc4b6c220
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
phk
644cffdbea
Open device R/W for ioctl modifications.
2004-12-18 11:04:10 +00:00
tegge
b6dedd63b0
Correct polarity of packet mode bit.
...
Problem discovered when 'boot0cfg -B -v -o packet -s 2 ad4' turned off
packet mode while reporting it as being enabled.
2004-09-14 21:58:30 +00:00
tegge
36663b16f4
boot0 defaults to packet mode.
2004-09-14 21:48:25 +00:00
obrien
eede4a5926
Enable packet mode by default. Disk drives have gotten so large now,
...
it is often the case the partition one wants to boot is above cylinder 1023.
2004-08-03 15:20:55 +00:00
ru
9f45c1d92e
mdoc(7) fixes.
2004-07-07 19:57:16 +00:00
phk
c675add0de
Document boot0sio and note that it requires modem handshake to work.
2004-06-17 12:01:25 +00:00
ru
44628bff23
Spelling nit.
2004-06-04 19:22:20 +00:00
stefanf
1b3274a8a0
Remove spurious semicolons. Outside of functions they are actually errors but
...
GCC doesn't warn about them without -pedantic.
Approved by: das (mentor)
PR: 56649
Reviewed by: md5
2004-05-16 22:08:17 +00:00
ru
cc9d2aeb39
Get rid of duplicates.
2003-09-14 13:41:59 +00:00
obrien
7293a24a2b
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
2003-05-03 21:06:42 +00:00
jhb
4f6904bca3
Add an example of how to use the -m option that clarifies how the bits in
...
the mask correspond to slice numbers. Also, clarify the description of the
existing example.
Requested by: Larry Rosenman <ler@lerctr.org>
2003-04-15 21:03:19 +00:00
obrien
a920d12f89
style.Makefile(5)
2003-04-04 17:49:21 +00:00
phk
2c4226a029
Use the new sector0 munging ioctls to make boot0cfg work under GEOM.
2002-12-29 15:01:58 +00:00
phk
19150ba4f8
Split MBR and PC98 on-disk sliceformats out from disklabel.h, step 1:
...
Peter had repocopied sys/disklabel.h to sys/diskpc98.h and sys/diskmbr.h.
These two new copies are still intact copies of disklabel.h and
therefore protected by #ifndef _SYS_DISKLABEL_H_ so #including them
in programs which already include <sys.disklabel.h> is currently a
no-op.
This commit adds a number of such #includes.
Once I have verified that I have fixed all the places which need fixing,
I will commit the updated versions of the three #include files.
Sponsored by: DARPA & NAI Labs.
2002-10-01 07:24:55 +00:00
charnier
d2168fe021
The .Nm utility
2002-07-14 14:47:15 +00:00
iedowse
766d7f4a54
Remove references to the update/noupdate flag from the description
...
and examples of the "-s" option, since these two features operate
completely independently of each other.
Reviewed by: obrien
2002-05-28 17:53:52 +00:00
obrien
36a393821f
The man page is VERY WRONG about using "-o noupdate" with -s.
...
So fix it, and add an example using -s.
2002-05-25 01:46:44 +00:00
dannyboy
23566a2f80
Trivial language fixes.
...
PR: 38015
Submitted by: Chris Pepper <pepper@mail.rockefeller.edu>
2002-05-14 21:09:05 +00:00
mikeh
f2a2bcb9ed
WARNS=2 cleanup.
...
Submitted by: Maxime Henrion <mux@qualys.com>
MFC after: 2 weeks
2001-12-11 06:44:29 +00:00
ru
bde8ec1b70
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
ru
24c7b0a61d
mdoc(7) police: s/BSD/.Bx/ where appropriate.
2001-08-14 10:01:54 +00:00
rnordier
ba4e5273cd
Unset MAINTAINER.
2001-07-21 14:32:47 +00:00
ru
7d127eaced
fdisk(8): document the default for -b, add xref to boot0cfg(8).
...
boot0cfg(8): add FILES section.
Reviewed by: rnordier
2001-07-18 07:12:46 +00:00
ru
afd506414e
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
iedowse
8818519fd6
Add missing specification of the `-s' option to the usage line.
...
PR: bin/26004
Submitted by: ushida@msa.biglobe.ne.jp
Reviewed by: rnordier
2001-03-22 22:55:13 +00:00
ru
f10dc9aca1
Set the default manual section for usr.sbin/ to 8.
2001-03-20 18:17:26 +00:00
ru
71e2293ad4
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
ben
5eea8e98aa
remove trailing periods from SEE ALSO.
2000-11-15 17:27:54 +00:00
ru
7d99729431
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
rnordier
9038a26a83
Reflect new packet option default.
2000-10-02 23:16:58 +00:00
rnordier
56de11b718
Set MAINTAINER.
2000-10-02 17:23:16 +00:00
sheldonh
f3696ea83a
Mark a path up with Pa.
2000-09-11 10:21:10 +00:00
sheldonh
2d2deaa14c
Whitespace-only change: apply normal line breaking style.
2000-09-11 10:19:15 +00:00
rnordier
92d82755e6
Provide correct information regarding "packet" option default.
...
PR: 20936
Originated by: obrien
2000-09-09 18:30:48 +00:00
dwmalone
d2bdccc3f8
Allow people to set the default boot slice with boot0cfg.
...
PR: 18923
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
Reviewed by: jhb
Approved by: rnordier
2000-08-17 18:42:13 +00:00
jhb
c882f3a97e
- When we save the existing MBR to a file, check to see if the MBR we are
...
saving is boot0. If it is, use its version number so that we can grab
all of boot0 (1024 bytes with version 1.1 for example) when we save it
to a file via the 'f' option. Otherwise, we just save the first sector.
- Cleanup this code a bit by splitting some functionality out into separate
functions.
Suggested by: Patrick Bihan-Faou <patrick@mindstep.com> (1)
2000-07-13 23:05:05 +00:00
jhb
f965e9b866
Update boot0cfg to handle the new boot0:
...
- Allow for boot0 to be more than one sector long. However, ensure that it
its length is a multiple of the sector length.
- Change the signatures used to determine a valid boot0 as some of the
signature code changed.
- Use the old signature to detect version 1.0 of boot0, otherwise read the
version number from boot0 itself.
2000-07-12 18:15:06 +00:00
peter
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
rnordier
5c8982f442
Check that we really have a boot0 mbr before treating it as one.
...
Suggested by: peter
Also add a few comments.
1999-06-22 18:57:49 +00:00
rnordier
f31af56e7f
Ensure that an update takes place when the -m option is used.
1999-06-21 14:40:59 +00:00
rnordier
3229eb479d
Implement -m option to enable/disable slices.
1999-06-19 21:44:43 +00:00
rnordier
1e2759ad39
Finish implementing "setdrv" option. This is intended to be used
...
(with care) in those instances where boot0 is not passed the
correct drive number by the PC BIOS. (The symptoms are a
"F5 Drive 0" line, even though the current drive is drive 0.)
1999-02-26 14:57:17 +00:00
rnordier
f4ef1ef780
Make various minor corrections.
1999-02-22 09:36:54 +00:00
rnordier
5028d48a50
Add boot0cfg: this installs/configures the `boot0' boot manager. A
...
CLI utility to do this has been requested by a few people.
1999-02-21 21:23:42 +00:00