summaryrefslogtreecommitdiff
path: root/sbin/fdisk
AgeCommit message (Collapse)Author
2004-11-100xBF is new Solaris ID; lclee@west.sun.comTheo de Raadt
2004-11-06gzip embedded man pages, and pipe through gunzip when viewing.Otto Moerbeek
ok deraadt@
2004-09-30remove stray const, noted by david@Otto Moerbeek
2004-09-18some delinting; ok ottoTheo de Raadt
2004-08-03spacingTheo de Raadt
2004-08-03Handle geometry parameters as unsigned quantities, getting rid of negativeOtto Moerbeek
number of sectors on large disks and other similar problems. ok toby@ tom@ deraadt@
2004-07-13Remove unused argument 'int pn' to PRT_fix_CHS(). The 'int pn'Tom Cosgrove
argument to PRT_parse() then becomes unused, so remove that too. ok henning@, otto@
2004-07-11Just use err(1, NULL) following malloc() failures, per err(3).Tom Cosgrove
ok otto@
2004-07-10The long descriptions of partition types are not used by the code, soTom Cosgrove
have them as comments rather than data. Reduces the size of the executable by over 2 KB. Also s/Netware/NetWare/. ok tedu@ deraadt@
2004-06-26new sentence, new line;Jason McIntyre
2004-06-22Make the interactive "update" command match the command-line "-u"Tom Cosgrove
option by updatng/setting the 0xAA55 signature at the end of the sector. ok nick@ weingart@
2004-05-03Remove OpenBSD/pegaos, this has been announced before but delayed untilDale Rahn
the tree was stable. No point in code supporting a company which screws its employees being in the OpenBSD tree.
2004-02-25correct NOMAN= caseTheo de Raadt
2004-01-29another typoMichael Shalayeff
2004-01-29cats will have fdiskTheo de Raadt
2004-01-28Repair build links for pegosos, and also build for amd64Theo de Raadt
2004-01-07Better diagnostic message if we can't open the external MBR fileTom Cosgrove
ok weingart@, tedu@
2004-01-07Sync fdisk's internal master boot record with the recent changesTom Cosgrove
to /usr/mdec/mbr. (This code is only used if /usr/mdec/mbr cannot be found.) ok toby@, tedu@
2003-10-31These should build on pegasosDale Rahn
2003-07-29spacesTheo de Raadt
2003-07-02missing protosTheo de Raadt
2003-06-11ansificationTheo de Raadt
2003-06-03- section reorderJason McIntyre
- some mdoc fixes
2003-06-03Nuke terms 3 & 4.Tobias Weingartner
2003-04-19change "%12.f" -> "%12.0f" to avoid a -Wformat warningAnil Madhavapeddy
ok millert@
2003-03-13Remove duplicate Amoeba entries.Miod Vallat
2003-01-31typos;Jason McIntyre
eeprom(8): added .Ar to fields, removed references to sun3 sshd(8): help and ok markus@ help and ok millert@
2002-07-11malloc() failure tests; rimshot@pandora.beTheo de Raadt
2002-06-26include <bsd.own.mk> before using NOMAN; ok millert@Wilbern Cobb
2002-06-09rm trailing whitespaceTodd T. Fries
2002-05-22strcpy, sprintf death; mpech okTheo de Raadt
2002-04-25sysctl wants size_t.Marc Espie
2002-04-20machine/limits.h is not userland. Use limits.hMarc Espie
ok millert@
2002-03-31remove arc from hereTheo de Raadt
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-12Add Dell, Thinkpad maintenance partition types.Kjell Wooding
2002-01-24allow reinitializing mbr in the ext parts; from Matt Watson <mwatson@apple.com>Michael Shalayeff
2002-01-23use sizeof instead of magic numbersMichael Shalayeff
2002-01-18Allow size values to be displayed in the user's choice of units.Kjell Wooding
Idea borrowed from disklabel. i.e. Users can now type "print M" and be rewarded with partition sizes in Megs
2002-01-18Add disklabel-style editing for size/offset values inKjell Wooding
the partition tables. These values may now contain units, such as "300k" "500M" or "2G". (sectors, bytes, and cylinders are also supported.) This should largely eliminate the need for a calculator when using fdisk on large disks.
2002-01-18Do not truncate the cylinder value to 1023 until the MBRKjell Wooding
is actually written to disk. Cylinder values for disks >8G are instead "faked" from the LBA values in the partition table. These faked values are now displayed correctly after a save.
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