summaryrefslogtreecommitdiff
path: root/sbin/fdisk/user.c
AgeCommit message (Expand)Author
2016-01-09Revamp the display of GPT information, hiding less importantKenneth R Westerback
2015-12-11Add '-v' flag that forces the display of both GPT's and the MBR.Kenneth R Westerback
2015-11-19Reduce overburden of unnecessary #include's. Note that param.h isKenneth R Westerback
2015-11-18USER_edit() (a.k.a. -e) edits the on-disk information. So zap GPTKenneth R Westerback
2015-11-13Move from opening/closing disk for every i/o to opening the disk onceKenneth R Westerback
2015-10-26Add GPT editing. Based on GSOC 2014 work by Markus Muller.Kenneth R Westerback
2015-04-02Don't printf("offset: ...) before every call to MBR_print(). Do itKenneth R Westerback
2015-03-26Expand internal representation of partition starting LBA and sizeKenneth R Westerback
2015-03-18Stop passing around little used 'struct mbr tt' parameter. JustKenneth R Westerback
2015-03-17Stop passing around little used and superfluous 'offset' parameter.Kenneth R Westerback
2015-03-16Stop passing around a pointer to the stack variable 'disk' in main().Kenneth R Westerback
2015-03-16Document that -i/-u are mutually exclusive and clean up the relatedKenneth R Westerback
2015-03-14Whitespace & KNF tweaks. Change functions whose return values areKenneth R Westerback
2015-03-14Switch all the license blocks to the standard OpenBSD/ISC license.Kenneth R Westerback
2015-02-09Rename 'm_flag' to 'e_flag' since it's '-e' that sets it. RenameKenneth R Westerback
2014-03-31Whitespace rectification.Kenneth R Westerback
2014-03-20Add back various #includes of err.h, unistd.h, ctype.h, ioctl.h toKenneth R Westerback
2014-03-17Nuke pointless blank lines, defines, comments and casts. EliminateKenneth R Westerback
2014-03-17Un-revert, being careful to not break snap building. Add paranoia checkKenneth R Westerback
2014-03-14Revert last -- broke building snaps.Kenneth R Westerback
2014-03-13Merge 'struct DISK_metrics' and 'struct disk' into one, since we don'tKenneth R Westerback
2014-03-10No need to pass the name of the command to the function that isKenneth R Westerback
2014-03-09Instead of passing around 'char buf[DEV_BSIZE]' buffers, pass aroundKenneth R Westerback
2014-03-07Relieve the code of an overburden of unnecessary typedefKenneth R Westerback
2013-03-21more substantial include cleanupTheo de Raadt
2011-02-21Honour MBR_read() results and don't pretend we can parse blocks weKenneth R Westerback
2009-02-08Eliminate excessive verbiage for 'fdisk -i' and 'fdisk -u'. EspeciallyKenneth R Westerback
2006-07-27Add checks to each write(2) attempt and try to keep fdisk in aRay Lai
2005-01-19add a swap primitive; ok various, will be polished after by tomTheo de Raadt
2003-06-11ansificationTheo de Raadt
2003-06-03Nuke terms 3 & 4.Tobias Weingartner
2002-05-22strcpy, sprintf death; mpech okTheo de Raadt
2002-01-18Allow size values to be displayed in the user's choice of units.Kjell Wooding
2001-12-15Get this damn diff out of my tree. ok from weingart@, deraadt@ and others.Kjell Wooding
2001-01-01New command "setpid", just changes the ID of a partition (no otherAngelos D. Keromytis
2000-09-12handle LBA extended partitions here too; scott@nts.umn.eduTheo de Raadt
1998-09-14Since on the powerpc, the system does not supply the user withDale S. Rahn
1998-09-08For powerpc's we want to keep the preinstalled msdos partition in the initPer Fogelstrom
1997-12-23swap exit and quitTheo de Raadt
1997-10-21make fdisk grok extended partitions again. we have to keep track of theNiels Provos
1997-10-19indentTheo de Raadt
1997-10-17no input does not do stupid auto helpTheo de Raadt
1997-10-16new command: manualTheo de Raadt
1997-10-16a bunch of improvements by weingart & ITheo de Raadt
1997-10-02do not whine if user quits without modsTheo de Raadt
1997-10-02tell user about "help"Theo de Raadt
1997-09-30ask permission to write new MBRMichael Shalayeff
1997-09-29ID in the first line w/ tabsMichael Shalayeff
1997-09-29don't exseed 80 columns; bell on important warningMichael Shalayeff
1997-09-29New fdisk code with interactive (command line type)Tobias Weingartner