summaryrefslogtreecommitdiff
path: root/sbin/fdisk/part.c
AgeCommit message (Expand)Author
2015-11-26When prompting for a GPT partition type, use the partition's current type asTim van der Molen
2015-11-19Reduce overburden of unnecessary #include's. Note that param.h isKenneth R Westerback
2015-10-26Add GPT editing. Based on GSOC 2014 work by Markus Muller.Kenneth R Westerback
2015-03-27Wrap some annoying long lines.Kenneth R Westerback
2015-03-27Use DOSACTIVE define instead of magic number 0x80.Kenneth R Westerback
2015-03-26Expand internal representation of partition starting LBA and sizeKenneth R Westerback
2015-03-16Stop passing around a pointer to the stack variable 'disk' in main().Kenneth R Westerback
2015-03-14Whitespace & KNF tweaks. Change functions whose return values areKenneth R Westerback
2015-03-14Switch all the license blocks to the standard OpenBSD/ISC license.Kenneth R Westerback
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