fvdl
96757427c6
Fix range check for the default boot option case.
2003-04-01 19:39:13 +00:00
wiz
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
82ece76c41
Drop trailing space (in last).
2003-02-09 21:56:19 +00:00
perry
d259c39de5
Slightly clarify/improve the documentation for the -B (boot selector)
...
option
2003-02-09 20:46:29 +00:00
jmmv
dd4a382f46
Print missing newline in two bootselector-related messages. Approved by wiz.
2003-01-10 23:37:34 +00:00
fvdl
f77d71f782
Enable bootselector code for x86_64.
...
XXX the ifdef-ed parts should be split off into a seperate file.
2002-11-30 13:47:19 +00:00
fvdl
2ee89df87b
Avoid format warning for off_t printf.
2002-11-24 21:49:15 +00:00
fvdl
304258c96f
Compile mbr and mbr_bootsel on x86_64
2002-11-23 23:45:51 +00:00
jdarrow
7e912cff61
Make the -l flage more useful, by actually printing the systype number
...
alongside the sysid string (instead of just the array index of the
struct part_type they are found in).
Now fdisk -l shows the familiar 169 for NetBSD, 165 for FreeBSD or
386BSD or old NetBSD, and other possibly-familiar (131 for Linux native,
015 for Ext. Partition - LBA) values in with their correct numbers.
2002-10-08 07:38:47 +00:00
wiz
2fb4b1db52
New sentence, new line. By Robert Elz with minimal fixes.
2002-10-01 13:40:23 +00:00
dbj
bfd495ea39
add partition type 0xaf for Apple HFS.
2002-09-27 23:19:56 +00:00
lukem
0d1ba7e8a0
minor makefile delint
2002-09-18 06:38:50 +00:00
enami
eb0197ee71
Fix unbalanced paren.
2002-09-09 03:01:26 +00:00
soren
26bc587db9
Clean up printf->err conversions.
2002-08-08 13:19:18 +00:00
ross
08c3bcd192
shut up assembler warnings
2002-08-04 20:29:44 +00:00
ross
626a25bc13
deal with assembler warnings
2002-08-04 20:27:22 +00:00
manu
3f13baf349
Added fdisk on hpcarm
2002-07-26 17:22:51 +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
itojun
b11bd24490
fdisk is now useful for macppc, build it
2002-06-17 15:11:46 +00:00
yamt
15da77e3d3
exit on EOF from stdin.
2002-06-05 12:19:23 +00:00
uch
f7b9e074ee
add hpcsh
2002-05-09 18:16:16 +00:00
thorpej
34525f12a8
Build fdisk(8) on netwinder.
2002-04-03 03:17:36 +00:00
christos
56a72506f9
nicer printing.
2002-03-26 23:56:45 +00:00
christos
d9d77caa18
PR/16073: Jachym _Freza_ Holecek: Add the ability to list known partition types.
...
While I am here, KNF a bit.
2002-03-26 23:56:05 +00:00
wiz
10d6eb080d
Drop duplicate .Pp.
2002-03-05 15:09:26 +00:00
dbj
5aa1b71afb
add "Apple UFS" and "Apple Boot" partition ids used by Darwin
2002-03-04 04:22:22 +00:00
scw
aea350ead2
fdisk(8) is needed on mvmeppc since PPCBUG uses PeeCee-style MBR
...
partition info when booting from disk.
2002-02-27 22:31:18 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +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
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
wiz
217af7b8a1
Use .Nx for NetBSD, drop some unnecessary empty lines, use standard headers.
2001-11-16 11:36:09 +00:00
wiz
4ce43ae0cd
Whitespace nits
2001-11-16 10:25:42 +00:00
lukem
c3e4fa53d9
if sysctl kern.root_device is availalbe, use that the default device
...
(rather than /dev/rwd0d). display the disk device used when printing
the partition table.
2001-11-07 14:50:32 +00:00
lukem
058fbb840d
opendisk(3) checks the device type for us
2001-11-01 07:04:18 +00:00
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