summaryrefslogtreecommitdiff
path: root/sbin/fdisk
AgeCommit message (Collapse)Author
2002-01-04sync to reality.Kjell Wooding
Note that the NT serial number is now whacked with an update, or -u Fix signature in example. Explicitly state the MBR signature (0xAA55)
2002-01-04Remove references to the NT serial number. Now the first 0x1beKjell Wooding
bytes of the MBR are treated as code for the purposes of the (u)pdate command. This is consistent with the new -u flag. This means boot managers like BootEasy can now be written out correctly. Note that rewriting the MBR now whacks the NT serial number - a behavior that is consistent with the DOS FDISK /MBR.
2001-12-21Initial patch for a new mdoc issue.Mike Pechkin
Powered by @mantoya: o) kill extra line in the end of file; o) kill extra space in the end of line; o) replace blank lines with .Pp; millert@ ok
2001-12-15Get this damn diff out of my tree. ok from weingart@, deraadt@ and others.Kjell Wooding
Add a -u flag to fdisk which updates MBR code, but leaves the partition table intact. There are still issues with 'update' having different behavior, but I'll resolve those shortly
2001-11-14fix a typo, from Daniel Lucq <daniel@lucq.org>, tested on:Michael Shalayeff
> (0) a SCSI disk with a working OpenBSD install > (1) a SCSI disk with cleared first sector (dd if=/dev/zero) > (2) an IDE disk with a working OpenBSD install > (3) an IDE disk with cleared first sector
2001-11-07Add MacOS X for Intel (or Darwin for Intel, or whatever the correctMiod Vallat
name is) partition ID. ok millert@ mickey@
2001-09-01Changes to build platform specific files properly with the powerpc -> macppcDale Rahn
port rename. This adds support for some of these to mvmeppc when it becomes MACHINE_ARCH=powerpc, as MACHINE_ARCH is tested in some instances. ancontrol and wicontrol are MACHINE_ARCH changes.
2001-08-17o) {Open,Net,Free}BSD -> .{O,N,F}x;Mike Pechkin
o) "start sentence on new line" issues; o) minimal -mdoc improvements; millert@ ok
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
deraadt@ ok
2001-07-02#include <string.h> to get mem* prototypes.Todd C. Miller
2001-06-23Add more partition types - ref. NetBSDKjell Wooding
2001-06-23Add new mbrcode.h - MBR boot code - no need for a separate file nowKjell Wooding
2001-06-23Changes from Toby. Make error tests explicit (against -1), remove one bigKjell Wooding
hurdle to partitions over 8G. Include the default MBR in a header file.
2001-05-21More verbose error message (what's the actual sysctl that failed)Angelos D. Keromytis
2001-05-18oopsMichael Shalayeff
2001-05-18a few harmless cleanupsMichael Shalayeff
2001-04-05permit tree build with NOMAN is setTheo de Raadt
2001-03-160x9f == BSDI, ok millert@Markus Friedl
2001-02-05Remove the NOMAN hack. This is not the way we want to do this.Artur Grabowski
(and the original problem is gone anyway).
2001-01-28More -Wall cleanup. Ansi style nit.Tobias Weingartner
2001-01-28Quick -Wall fixes, ok niklas@, aaron@Tobias Weingartner
2001-01-18Fix NOMAN build.Artur Grabowski
2001-01-17don't nroff twice, and escape protect possible bad charsDavid Leonard
2001-01-01New command "setpid", just changes the ID of a partition (no otherAngelos D. Keromytis
parameters editing) -- vassilip@dsl.cis.upenn.edu
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-09-12handle LBA extended partitions here too; scott@nts.umn.eduTheo de Raadt
2000-07-07On the last commit to fdisk when the prototypes to PRT_fix_CHS and PRT_fix_BNDale S. Rahn
were made, some code in an ifdefed section was missed. Update that section of code to have the appropriate added parameter.
2000-07-01be more verbose when warning for partition errors,Michael Shalayeff
print partition number in the message.
2000-06-110x39 == plan9Markus Friedl
2000-06-10know QNX; jcplace@ibm.neTheo de Raadt
2000-05-18Prepare to recurse down those directories for all arches, to grab manpages.Marc Espie
2000-05-02Oxify; aaronTheo de Raadt
2000-04-18Favor BIOS geometry over physical. This should fix MANY problems withKjell Wooding
hard drives >8G sharing partitions with other operating systems. Also, support extended partition type 0x0F, which is quite common now.
2000-03-29sort partition type list vertically rather than across. ok weingart@Kenneth R Westerback
2000-03-18Remove hard sentence breaks, and some other cleanup along the way.Aaron Campbell
2000-03-05Finish standardizing options list introduction.Aaron Campbell
2000-02-04Max Sectors is 63. ok weingart@Kjell Wooding
2000-01-22ie. -> i.e.,Aaron Campbell
2000-01-08support LBA-mapped extended partitions too; ↵Theo de Raadt
sigh@kuzirabekon.econ.nagasaki-u.ac.jp
1999-11-23Add Phoenix BIOS notebook save-to-disk partition type (ok theo).Ian Darwin
1999-09-23Caveat Emperor -> Caveat Emptor; kwesterback@home.comAaron Campbell
1999-08-21MIPS boxes that use fdisk need an MS-DOS partitionNiklas Hallqvist
1999-08-10call DIOCRLDINFO after writing an MBRTheo de Raadt
1999-07-22align collumnsTheo de Raadt
1999-07-21use .Ar on later .It Fl linesTheo de Raadt
1999-07-04trash some old leftover macros and replace them with -mdoc macrosAaron Campbell
1999-07-03remove redundant .Pp macrosAaron Campbell
1999-06-10Handle PAGER in a manner consistent with the Single Unix Specification:Paul Janzen
that is, use PAGER rather than "more" if it is defined and non-null, not just if it is defined.
1999-06-06mention the `manual' command; mcsmart@engin.umich.eduAaron Campbell
1999-06-04start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@Aaron Campbell