uch
0cbd019fc3
playstation2 support
2001-10-15 16:22:50 +00:00
tv
d63e12815a
objcopy -> ${OBJCOPY}
2001-09-22 02:01:13 +00:00
wiz
73f545bb5b
Drop arguments of .Os.
2001-06-05 11:22:41 +00:00
lukem
f5cf87f961
add fix by Minoura Makoto to correctly support recursive extended partitions.
...
the offset of an extended sub-partition is the offset of the top-level
extended partition, not the partition before it (this is annoying, and
makes `clean' recursive mbr descent difficult). fixes PRs 11829 and 12677.
2001-04-16 10:47:15 +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
726afedd26
don't use OBJS in the dependency line because it is not defined yet.
2001-01-14 09:22:01 +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
45c96da8ec
use MBR_IS_EXTENDED() instead of local test (which was missing a test case)
2000-12-24 13:32:41 +00:00
lukem
0f2402d559
* Recursively print out extended partition entries. An extended partition is
...
effectively an MBR with it's own partition table which contains another
4 `slots', each of which can be another extended partition...
This involved reworking some of the internal functions.
* Use off_t appropriately (so we can manipulate sectors past 4GB).
* Tweak to compile with WARNS=2
2000-12-19 16:01:28 +00:00
lukem
b813a81a7c
convert to ANSI KNF
2000-12-19 15:44:27 +00:00
lukem
a67eb3719f
list the options in a specific options list (as per the `traditional'
...
man page). i find this much easier to read than option descriptions
scattered amongst paragraphs of text.
2000-12-18 23:42:40 +00:00
abs
fc52578672
xref (disklabel.8, fdisk.8, mbrlabel.8) as appropriate
2000-11-14 11:06:19 +00:00
lukem
42039d09f9
use .Xr
2000-11-07 05:40:17 +00:00
thorpej
6d78b8c024
When fetching the disk's hardware geometry, first attempt the
...
DIOCGDEFLABEL ioctl, then fall back onto the DIOCGDINFO ioctl
if that fails. This ensures that we will get the actual hardware
geometry info rather than any bogus info that might have been
previously written to the disk's label area.
2000-07-06 17:22:43 +00:00
wiz
334298998c
Fix QNX partition IDs, confirmed by looking at FreeBSD's fdisk.
...
Note: 77 == 0x4d
2000-06-14 19:35:50 +00:00
augustss
73053385f4
Note that sysid 0 marks a partition as unused.
2000-06-07 22:40:59 +00:00
fvdl
1033142eea
Truncate the CHS values correctly in case a partition boundary exceeds
...
their range.
2000-05-27 19:02:54 +00:00
nonaka
a279fa1682
also install on prep.
2000-05-02 18:20:41 +00:00
soren
c1e87c4d5e
Also install on cobalt.
2000-03-19 23:01:07 +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
soda
07a6bcdde4
Build fdisk also on arc
2000-01-31 15:54:48 +00:00
hubertf
92bd305e4a
Add note that "fdisk -i" is the same as "fdisk /mbr" on MSDOS.
1999-10-11 01:04:57 +00:00
enami
d758f82f45
Oops, needs an operator.
1999-09-25 04:27:55 +00:00
enami
cd2531c01e
Build fdisk also on hpcmips.
1999-09-25 04:26:28 +00:00
enami
62d623bfc4
Don't decend into the subdirectory mbr_bootsel except i386,
...
since it currently doesn't contain MI thing and not compile
on ofppc box (thanks Wolfgang) and probably on bebox box.
1999-09-25 04:18:20 +00:00
simonb
2bb88f2837
Fix tyop and clean up usage of commas a little.
1999-09-21 12:09:25 +00:00
soren
b49886ea7a
Update usage().
...
Prevent buffer overflows when configuring boot selector.
Cycle through partitions when entering boot names.
Use '<UNUSED>' consistently.
Reviewed by: fvdl
1999-09-06 23:58:59 +00:00
sakamoto
8ecadeaecd
Build fdisk on bebox and ofppc(replaced powerpc).
1999-07-02 17:48:26 +00:00
thorpej
7d344bb51b
Make sure the boot selector actually gets updated if you only change
...
the timeout and/or the default menu choice.
1999-06-04 18:59:15 +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
7d18a1432b
Tighten check for bad drive numbers to avoid passing garbage to the
...
2nd stage loader.
1999-05-02 12:20:01 +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
fvdl
cbf8e59c01
Make check if we need int13 extensions for the bootselector more correct.
1999-05-02 12:17:48 +00:00
fvdl
5a48cda98a
Remove confusing entry about cylinder boundaries.
1999-05-02 12:17:13 +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
48c1c25ba5
Make the bootselector configurable by fdisk. Add a -B flag to this
...
effect (i386 only of course). Also change one branch in the
bootselector code to an explicit 16 bit one, and check both
the boot menu and partition tables to see if the partition
requested by the user should be booted. This check just in case,
should the bootselector menu and partition table get out of sync
somehow. (mmm, bytesqueezing)
1999-04-17 01:38:00 +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
mycroft
f6590b22cd
Clean up SYNOPSIS formatting.
1999-03-07 11:02:05 +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
perry
9a8b75daeb
add BeOS entry, from URA Hiroshi, PR 6974
1999-02-09 19:11:46 +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