Commit Graph

148 Commits

Author SHA1 Message Date
dsl 93e88fd2eb Only look at each pair of CHS values once when trying to guess geometry. 2003-07-07 11:45:00 +00:00
joda e5986b088f add missing . before Fl 2003-06-03 12:35:54 +00:00
itojun 00868410fd asprintf is easier 2003-05-17 23:14:42 +00:00
dsl b081987b73 delete a diagnostic printf that was accidentally left in 2003-05-14 11:24:05 +00:00
wiz c94730c38a MBR, not mbr. 2003-05-06 07:56:03 +00:00
dsl 5e53f766f8 Change a couple of .Em to .Ar 2003-05-01 13:36:25 +00:00
wiz 0682f1a427 Replace some raw roff with mdoc. 2003-05-01 13:01:17 +00:00
wiz 0d14e41651 Improve formatting for [/bootmenu], requested by dsl; add some commas. 2003-05-01 12:55:52 +00:00
dsl 315515ebe4 a mbr -> an mbr 2003-05-01 10:43:58 +00:00
wiz c662d486a9 mdoc fix, use \*[Lt]/\*[Gt], sort SEE ALSO, some other nits. 2003-05-01 10:43:14 +00:00
wiz b3d7fe267b Drop trailing space. 2003-05-01 09:50:12 +00:00
bjh21 b2fbd85bee Remove some unused variabled from get_params_to_use() in the !i386 && !amd64
case.
2003-05-01 09:23:30 +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
dsl 8defedc8ba Don't descend into mbr_bootsel.
i386/and64 mbr code is built in arch i386/stand/mbr
2003-04-30 19:49:01 +00:00
dsl fa01152676 Rototilled fdisk that supports:
- editing of the extended partition list
- user friendly default start/size for new partitions
- partition start/size input in sectors, cylinders or MB
- bootsel menu names configured with paritition bounds
- partition update loop asks used which partition to change
  (instead of asking about each partition in turn).
- detection (and erroring) of overlapped partitions.
- automatic installation of correct mbr_xxx code (after prompting user)
2003-04-30 19:47:10 +00:00
dsl 6ac09f276d Move some definitions from fdisk.c to disklabel_mbr.h so they don't have
to be duplicated elsewhere (eg in mbr.S).
Modify fdisk.c so that it builds with the new disklabel.h
2003-04-30 10:29:51 +00:00
fvdl 043f21d9ea x86_64 -> amd64 2003-04-26 19:14:17 +00:00
fvdl 0945a6df17 x86_64 -> amd64 2003-04-26 19:02:50 +00:00
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