summaryrefslogtreecommitdiffstats
path: root/sbin/fdisk/disk.h
AgeCommit message (Expand)AuthorFilesLines
2015-12-12Open disk READONLY if none of i, e or u are specified.krw1-2/+2
2015-11-13Move from opening/closing disk for every i/o to opening the disk oncekrw1-6/+6
2015-03-30Even better -- readsector() and writesector() become DISK_readsector() andkrw1-1/+3
2015-03-16Stop passing around a pointer to the stack variable 'disk' in main().krw1-3/+4
2015-03-14Switch all the license blocks to the standard OpenBSD/ISC license.krw1-20/+11
2014-03-17Nuke pointless blank lines, defines, comments and casts. Eliminatekrw1-3/+1
2014-03-17Un-revert, being careful to not break snap building. Add paranoia checkkrw1-11/+6
2014-03-14Revert last -- broke building snaps.krw1-6/+11
2014-03-13Merge 'struct DISK_metrics' and 'struct disk' into one, since we don'tkrw1-11/+6
2014-03-07Relieve the code of an overburden of unnecessary typedefkrw1-9/+9
2010-06-30Make 'fdisk -i' start the OpenBSD partition on a power of 2 512-bytekrw1-1/+3
2009-02-08Eliminate excessive verbiage for 'fdisk -i' and 'fdisk -u'. Especiallykrw1-3/+1
2007-04-26Eliminate CPU_BIOS from userland and wd(4) by always using the BIOSkrw1-2/+1
2004-08-03Handle geometry parameters as unsigned quantities, getting rid of negativeotto1-5/+5
2003-06-03Nuke terms 3 & 4.weingart1-6/+1
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-5/+5
2002-01-18Allow size values to be displayed in the user's choice of units.kjell1-2/+2
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */heko1-2/+2
1997-10-16a bunch of improvements by weingart & Ideraadt1-2/+3
1997-09-29ID in the first line w/ tabsmickey1-2/+1
1997-09-29New fdisk code with interactive (command line type)weingart1-0/+58