summaryrefslogtreecommitdiff
path: root/sbin/fdisk/part.c
AgeCommit message (Expand)Author
2014-05-05Ugly workaround for an overoptimistic alignment expectation of dos_partitionMiod Vallat
2014-03-31Whitespace rectification.Kenneth R Westerback
2014-03-31Nuke [get|put][short|long] and just use letoh[16|32] andKenneth R Westerback
2014-03-25Use 'struct dos_partition' variable to access 'struct dos_partition'Kenneth R Westerback
2014-03-22warn() -> warnx() when errno is irrelevant.Kenneth R Westerback
2014-03-20Simplify a bit of code to make sure even -Wall can see the variablesKenneth R Westerback
2014-03-20Add back various #includes of err.h, unistd.h, ctype.h, ioctl.h toKenneth R Westerback
2014-03-17Nuke pointless blank lines, defines, comments and casts. EliminateKenneth R Westerback
2014-03-17Un-revert, being careful to not break snap building. Add paranoia checkKenneth R Westerback
2014-03-14Revert last -- broke building snaps.Kenneth R Westerback
2014-03-13Merge 'struct DISK_metrics' and 'struct disk' into one, since we don'tKenneth R Westerback
2014-03-09Instead of passing around 'char buf[DEV_BSIZE]' buffers, pass aroundKenneth R Westerback
2014-03-07Relieve the code of an overburden of unnecessary typedefKenneth R Westerback
2013-03-21more substantial include cleanupTheo de Raadt
2012-07-25do not check ns here, we're supposed to compute it; ok krw@ deraadt@Otto Moerbeek
2012-07-11Simplify guts and calling of getuint(). Eliminate a useless 'help'Kenneth R Westerback
2009-04-29code that stank and made me upsetTheo de Raadt
2009-04-01Remove duplicate entry for partition id 0x07 so NTFS partitionsJonathan Gray
2009-03-24two more MBR partition namesTodd T. Fries
2008-05-31add hfs+ type. deraadt@ okFederico G. Schwindt
2008-02-18adjust width of S column to improve printing of the MBR partition tableIgor Sobrado
2007-07-04another mbr partition type; fgschTheo de Raadt
2007-06-10adjust the width of columns to match the geometry of current drivesIgor Sobrado
2007-04-04Thinkpad -> ThinkPad; from Igor SobradoJason McIntyre
2006-06-09EFI partition types; didickman@yahoo.comTheo de Raadt
2005-11-21Replace default DEV_BSIZE sector conversion factor with disklabel'sKenneth R Westerback
2004-11-100xBF is new Solaris ID; lclee@west.sun.comTheo de Raadt
2004-08-03Handle geometry parameters as unsigned quantities, getting rid of negativeOtto Moerbeek
2004-07-13Remove unused argument 'int pn' to PRT_fix_CHS(). The 'int pn'Tom Cosgrove
2004-07-10The long descriptions of partition types are not used by the code, soTom Cosgrove
2003-07-29spacesTheo de Raadt
2003-07-02missing protosTheo de Raadt
2003-06-11ansificationTheo de Raadt
2003-06-03Nuke terms 3 & 4.Tobias Weingartner
2003-04-19change "%12.f" -> "%12.0f" to avoid a -Wformat warningAnil Madhavapeddy
2003-03-13Remove duplicate Amoeba entries.Miod Vallat
2002-06-09rm trailing whitespaceTodd T. Fries
2002-02-12Add Dell, Thinkpad maintenance partition types.Kjell Wooding
2002-01-18Allow size values to be displayed in the user's choice of units.Kjell Wooding
2002-01-18Do not truncate the cylinder value to 1023 until the MBRKjell Wooding
2001-11-14fix a typo, from Daniel Lucq <daniel@lucq.org>, tested on:Michael Shalayeff
2001-11-07Add MacOS X for Intel (or Darwin for Intel, or whatever the correctMiod Vallat
2001-07-02#include <string.h> to get mem* prototypes.Todd C. Miller
2001-06-23Add more partition types - ref. NetBSDKjell Wooding
2001-06-23Changes from Toby. Make error tests explicit (against -1), remove one bigKjell Wooding
2001-05-18oopsMichael Shalayeff
2001-05-18a few harmless cleanupsMichael Shalayeff
2001-03-160x9f == BSDI, ok millert@Markus Friedl
2000-07-01be more verbose when warning for partition errors,Michael Shalayeff
2000-06-110x39 == plan9Markus Friedl