summaryrefslogtreecommitdiff
path: root/sbin/fdisk
AgeCommit message (Expand)Author
2012-04-25Before writing it to disk, warn the user if their new MBR containsMatthew Dempsky
2012-04-04Don't 'reserve' a head/track if there is only only 1 head and 1Kenneth R Westerback
2011-12-25printf("msg")/return 1 -> err(1, "msg"), which will also show relevantKenneth R Westerback
2011-11-11A zero-length partition is a non-partition, so reject a partitionKenneth R Westerback
2011-07-05Add DIOCGPDINFO to rxioctl(), as a synonym for DIOCGDINFO, the lastKenneth R Westerback
2011-06-23switch to installing source manuals (base part)Ingo Schwarze
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-12-03disklabel now uses "duid", not "uid";Jason McIntyre
2010-11-22Update example disk partition info to more current reality. NoticedKenneth R Westerback
2010-07-05improve description for -i; as a consequence of recent changes,Igor Sobrado
2010-07-04make ^D handling consistant in fdisk by just bailing out instead ofAlexander Hall
2010-07-02on error, getuint() will return UINT_MAX. Instead of actually usingAlexander Hall
2010-06-30Make 'fdisk -i' start the OpenBSD partition on a power of 2 512-byteKenneth R Westerback
2010-05-25match usage to the manual page, and borrow the description of 'disk'Theo de Raadt
2010-05-20document the optional arg to "flag", as requested by Thomas Pfaff;Jason McIntyre
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
2010-03-27remainer->remainder; from miodJason McIntyre
2010-03-27various improvements from Anders Langworthy, with some tweaksJason McIntyre
2010-03-22introduce HAS_MBR and let make define it for the right machines;Otto Moerbeek
2010-02-17loongson has mbr as well; ok miod@ (but he made me promise to makeOtto Moerbeek
2009-12-24spelling fixes, from Brad Tilley; we will not fix src/sbin/dump/dump.hIgor Sobrado
2009-07-24properly sanitize the default value in ask_num(...)Alexander Hall
2009-04-29code that stank and made me upsetTheo de Raadt
2009-04-07Fix the default value to be between low/high range. Thanks forTobias Weingartner
2009-04-01Remove duplicate entry for partition id 0x07 so NTFS partitionsJonathan Gray
2009-03-30some improvements inspired by a mail on misc@ from frantisek holop:Jason McIntyre
2009-03-24two more MBR partition namesTodd T. Fries
2009-02-08Eliminate excessive verbiage for 'fdisk -i' and 'fdisk -u'. EspeciallyKenneth R Westerback
2008-12-01Back out previous; it broke specifying paritions sizes with decimals,Ray Lai
2008-12-01Check for invalid integers passed getuint(); instead of getuint()Ray Lai
2008-05-31add hfs+ type. deraadt@ okFederico G. Schwindt
2008-05-13fix an error in the example partition table; from Adam PattersonJason McIntyre
2008-02-18adjust width of S column to improve printing of the MBR partition tableIgor Sobrado
2007-12-30sort flags in both synopsis and usage, file not commited in last diffIgor Sobrado
2007-12-30sort flags in both synopsis and usageIgor Sobrado
2007-11-26fix SEE ALSO; from deraadtJason McIntyre
2007-11-25tweak previous;Jason McIntyre
2007-11-25Build fdisk(8) on all architectures, since it is minimally useful to viewTheo de Raadt
2007-11-25document MBR spoofing, very minimallyTheo de Raadt
2007-08-01cats went awayTheo de Raadt
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-05-31convert to new .Dd format;Jason McIntyre
2007-04-27Remove unneeded #include's, as already done for disklabel. CPU_BIOSKenneth R Westerback
2007-04-26lint says: fdisk.c:160: warning: operator '==' found where '=' was expectedTheo de Raadt
2007-04-26Eliminate CPU_BIOS from userland and wd(4) by always using the BIOSKenneth R Westerback
2007-04-04Thinkpad -> ThinkPad; from Igor SobradoJason McIntyre
2007-01-12make the description match synopsis for -chs;Jason McIntyre
2007-01-11avoid an ugly grammar construction;Jason McIntyre