Commit Graph

33 Commits

Author SHA1 Message Date
dsl ae60f83e33 Remove old i386 mbr stuff (move to arch/i386/stand/mbr a while ago)
mbr.8 moved to src/share/man/man8/man8.i386
2003-07-16 11:11:49 +00:00
wiz c662d486a9 mdoc fix, use \*[Lt]/\*[Gt], sort SEE ALSO, some other nits. 2003-05-01 10:43:14 +00:00
dsl 93174a8c33 Update to match new mbr code 2003-05-01 08:40:17 +00:00
dsl c5bd7c9dfd i386/amd64 mbr is now built in sys/arch/i386/stand/mbr 2003-04-30 19:50:42 +00:00
fvdl 043f21d9ea x86_64 -> amd64 2003-04-26 19:14:17 +00:00
fvdl 304258c96f Compile mbr and mbr_bootsel on x86_64 2002-11-23 23:45:51 +00:00
ross 626a25bc13 deal with assembler warnings 2002-08-04 20:27:22 +00:00
wiz 1322c69689 Nit. 2002-07-09 22:51:13 +00:00
jdolecek 0fb4a207d2 This isn't i386 specific (also macppc) 2002-07-09 22:11:50 +00:00
itojun 245453be61 mbr for FDISK-formatted macppc disk 2002-06-17 15:25:45 +00:00
fair fe1cad9aa9 Cross-link fdisk(8), mbr(8), and mbrlabel(8) in the SEE ALSO sections,
as suggested in PR 14288.  Also add a little white space to mbr(8) to
make it a little more readable.
2002-01-13 08:02:14 +00:00
wiz 217af7b8a1 Use .Nx for NetBSD, drop some unnecessary empty lines, use standard headers. 2001-11-16 11:36:09 +00:00
tv d63e12815a objcopy -> ${OBJCOPY} 2001-09-22 02:01:13 +00:00
christos 8ce2d80d7a back out previous; it is better for now to handle the dependencies in
bsd.prog.mk
2001-01-14 09:41:41 +00:00
christos c26e2519ac add .NOTMAIN for good measure. 2001-01-14 09:24:30 +00:00
christos 9b6a2fbeb4 don't use OBJ in the dependency line cause it is not defined yet. 2001-01-14 09:21:24 +00:00
lukem 42039d09f9 use .Xr 2000-11-07 05:40:17 +00:00
perry 39546c529f add bootselect MLINK -- from jhawk 2000-03-06 01:23:11 +00:00
hubertf 04a9ed5842 Revert last change, it was caused by the build not picking the
right files if DESTDIR is set.
2000-02-11 16:14:32 +00:00
hubertf e597c0a106 s/STRIP/STRIPPROG/ 2000-02-11 15:36:25 +00:00
tsutsui c539ff5d84 STRIPPROG -> STRIP 2000-02-01 06:00:35 +00:00
fvdl 6a2c64449b Sanity check the drive number in %dl and use it instead of blindly
assuming disk 0.
1999-05-02 13:48:30 +00:00
fvdl c0042f7871 Because of space constraints, error messages got shortened. Reflect this
in the manual page.
1999-05-02 12:18:40 +00:00
ross 255793452f Since fdisk/mbr contains a man page, we need to descend into it regardless
of which ${MACHINE} we are.
1999-05-02 04:42:47 +00:00
christos 8eeaf82ae4 - Use the proper multiply instructions so that we don't get truncated.
- Fix comparison, which did not work before.
1999-04-30 15:29:44 +00:00
fvdl a6f7895b92 Only use int13 extensions if the sectors can not be read through the
older CHS interface. This works around stupid BIOSs who report that
int13 extensions are present and functional, but fail when you actually
use them. Like Adaptec SCSI BIOSs.

For the bootselector, there was no space to get the CHS info from
the BIOS. Instead, use a flag that can be set by fdisk. fdisk will
set it if one of the partitions on the disk is out of CHS reach
for this disk/BIOS, so that the bootselector will use int13 extensions.
This isn't so bad, because it needs to be configured via fdisk anyway.

Change the mbr manualpage to reflect some shorter error messages.
1999-04-28 23:27:01 +00:00
fvdl 7adcf112ca Add a manual page describing the MBR and the bootselector. 1999-04-15 22:35:19 +00:00
fvdl fa9bff9be1 Add and build a bootselecting MBR (i386). 1999-04-15 22:31:23 +00:00
christos 22f9ed8d9b Make it work for both elf and a.out 1999-03-24 16:02:41 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
ws f0a4bb6818 Use the drive parameter from the partition table
to support booting from the second disk.
1999-02-08 21:52:43 +00:00
ws faf59c0aba Initialize drive number in DL (not done by some BIOSs).
If you want to use 32-bit addresses, be sure to init the high bits, too.
Some additional register saves around BIOS calls (just in case).
1999-01-28 14:14:04 +00:00
ws 3cdac6d69c Separate master bootcode from fdisk.
Add int13 extension support to master bootcode.
1998-10-15 15:22:13 +00:00