summaryrefslogtreecommitdiff
path: root/sbin/fdisk/disk.c
AgeCommit message (Expand)Author
2010-06-30Make 'fdisk -i' start the OpenBSD partition on a power of 2 512-byteKenneth R Westerback
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
2009-02-08Eliminate excessive verbiage for 'fdisk -i' and 'fdisk -u'. EspeciallyKenneth R Westerback
2007-04-27Remove unneeded #include's, as already done for disklabel. CPU_BIOSKenneth R Westerback
2007-04-26Eliminate CPU_BIOS from userland and wd(4) by always using the BIOSKenneth R Westerback
2006-12-10Read/write device sectors rather than assuming sector size ==Kenneth R Westerback
2006-11-19Try DIOCGPDINFO before DIOCGDINFO when trying to determine the 'label'Kenneth R Westerback
2005-12-18Fix condition so "BIOS fixup botch" can, unlikely as it is, beKenneth R Westerback
2005-11-21Replace default DEV_BSIZE sector conversion factor with disklabel'sKenneth R Westerback
2004-08-03spacingTheo de Raadt
2004-07-11Just use err(1, NULL) following malloc() failures, per err(3).Tom 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
2002-07-11malloc() failure tests; rimshot@pandora.beTheo de Raadt
2002-04-25sysctl wants size_t.Marc Espie
2002-01-18Allow size values to be displayed in the user's choice of units.Kjell Wooding
2001-06-23Changes from Toby. Make error tests explicit (against -1), remove one bigKjell Wooding
2001-05-21More verbose error message (what's the actual sysctl that failed)Angelos D. Keromytis
2000-04-18Favor BIOS geometry over physical. This should fix MANY problems withKjell Wooding
2000-01-08support LBA-mapped extended partitions too; sigh@kuzirabekon.econ.nagasaki-u....Theo de Raadt
1997-10-28use RAW_PART, not 0Theo de Raadt
1997-10-26do device sysctl operations like installboot does; I hope this is rightTheo de Raadt
1997-10-22newer bios stuff; needs workMichael Shalayeff
1997-10-19indentTheo de Raadt
1997-10-19indentTheo de Raadt
1997-10-16a bunch of improvements by weingart & ITheo de Raadt
1997-10-04support CPU_BIOSDEV on i386Theo de Raadt
1997-09-29ID in the first line w/ tabsMichael Shalayeff
1997-09-29New fdisk code with interactive (command line type)Tobias Weingartner