summaryrefslogtreecommitdiff
path: root/sbin/fdisk/mbr.c
AgeCommit message (Expand)Author
2013-10-08Keep disk sector calcuations in u_int64_t as long as possible, andKenneth R Westerback
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2013-03-21more substantial include cleanupTheo de Raadt
2012-04-04Don't 'reserve' a head/track if there is only only 1 head and 1Kenneth R Westerback
2011-06-20MBR_read() can be reading from a file as well as a raw partition.Kenneth R Westerback
2011-02-21Honour MBR_read() results and don't pretend we can parse blocks weKenneth R Westerback
2010-06-30Make 'fdisk -i' start the OpenBSD partition on a power of 2 512-byteKenneth R Westerback
2009-02-08Eliminate excessive verbiage for 'fdisk -i' and 'fdisk -u'. EspeciallyKenneth R Westerback
2006-12-10Read/write device sectors rather than assuming sector size ==Kenneth R Westerback
2006-05-29Change MBR_read() and MBR_write() to return -1 on error and setRay Lai
2004-09-18some delinting; ok ottoTheo de Raadt
2004-07-13Remove unused argument 'int pn' to PRT_fix_CHS(). The 'int pn'Tom Cosgrove
2003-07-29spacesTheo de Raadt
2003-06-11ansificationTheo de Raadt
2003-06-03Nuke terms 3 & 4.Tobias Weingartner
2002-06-09rm trailing whitespaceTodd T. Fries
2002-01-18Allow size values to be displayed in the user's choice of units.Kjell Wooding
2002-01-04Remove references to the NT serial number. Now the first 0x1beKjell Wooding
2001-12-15Get this damn diff out of my tree. ok from weingart@, deraadt@ and others.Kjell Wooding
2001-01-28Quick -Wall fixes, ok niklas@, aaron@Tobias Weingartner
2000-07-07On the last commit to fdisk when the prototypes to PRT_fix_CHS and PRT_fix_BNDale S. Rahn
2000-07-01be more verbose when warning for partition errors,Michael Shalayeff
1999-08-21MIPS boxes that use fdisk need an MS-DOS partitionNiklas Hallqvist
1999-08-10call DIOCRLDINFO after writing an MBRTheo de Raadt
1998-09-14Since on the powerpc, the system does not supply the user withDale S. Rahn
1997-10-21make fdisk grok extended partitions again. we have to keep track of theNiels Provos
1997-10-19indentTheo de Raadt
1997-10-19indentTheo de Raadt
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