summaryrefslogtreecommitdiff
path: root/sbin/fdisk/misc.h
AgeCommit message (Expand)Author
2015-11-21Bring GPT partition editing into line with MBR partition editingKenneth R Westerback
2015-11-12Avoid problems with pathological input during edit operations. i.e. neverKenneth R Westerback
2015-10-26Add GPT editing. Based on GSOC 2014 work by Markus Muller.Kenneth R Westerback
2015-03-30Even better -- readsector() and writesector() become DISK_readsector() andKenneth R Westerback
2015-03-29Rename MBR_readsector() and MBR_writesector() to just readsector()Kenneth R Westerback
2015-03-28Add a simple crc32() implmentation to avoid pulling in libz, whichKenneth R Westerback
2015-03-26Adapt ask_string() from disklabel's getstring(). It will be usedKenneth R Westerback
2015-03-26Allow input/printing/conversion of terabyte sizes. Which GPT partitonsKenneth 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-14Switch all the license blocks to the standard OpenBSD/ISC license.Kenneth R Westerback
2014-03-31Nuke [get|put][short|long] and just use letoh[16|32] andKenneth R Westerback
2014-03-17Nuke pointless blank lines, defines, comments and casts. EliminateKenneth R Westerback
2014-03-10No need to pass the name of the command to the function that isKenneth 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-11Simplify guts and calling of getuint(). Eliminate a useless 'help'Kenneth R Westerback
2012-07-09We always want to do unit conversions. So flags parameter of getuint()Kenneth R Westerback
2012-07-09I want some of what kjell was smoking 10 years ago when he addedKenneth R Westerback
2012-07-08set_pid() does not need prompt string, low or high parameters. TheseKenneth R Westerback
2012-07-08Split out an ask_pid() function rather than over-parameterizing theKenneth R Westerback
2005-11-21Replace default DEV_BSIZE sector conversion factor with disklabel'sKenneth R Westerback
2004-09-30remove stray const, noted by david@Otto Moerbeek
2004-09-18some delinting; ok ottoTheo de Raadt
2003-06-03Nuke terms 3 & 4.Tobias Weingartner
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained o...Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-01-18Allow size values to be displayed in the user's choice of units.Kjell Wooding
2002-01-18Add disklabel-style editing for size/offset values inKjell Wooding
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
1997-10-16a bunch of improvements by weingart & ITheo de Raadt
1997-09-29ID in the first line w/ tabsMichael Shalayeff
1997-09-29New fdisk code with interactive (command line type)Tobias Weingartner