Age | Commit message (Expand) | Author |
2018-04-26 | Prefer <fcntl.h> over <sys/fcntl.h> in userland | Philip Guenther |
2016-12-27 | The "disk too large" and "only LBA values saved" messages are more | Kenneth R Westerback |
2016-06-25 | Move pledge after opendev and DIOCGPDINFO. Fixes e.g. fdisk /dev/tty. | Theo Buehler |
2016-03-28 | Remove unused variables | Ricardo Mestre |
2015-12-12 | In olden times (i + u + e) was considered a clever way to 'or' | Kenneth R Westerback |
2015-12-12 | Open disk READONLY if none of i, e or u are specified. | Kenneth R Westerback |
2015-12-11 | Add '-v' flag that forces the display of both GPT's and the MBR. | Kenneth R Westerback |
2015-12-01 | Make '-i' set 'reinited' flag so that the initial Xwrite() will zap | Kenneth R Westerback |
2015-11-24 | pledge "stdio rpath wpath disklabel proc exec" throughout, after | Theo de Raadt |
2015-11-19 | Oops. Missed a file. | Kenneth R Westerback |
2015-11-18 | Parse the original on-disk MBR into a local variable. Use the | Kenneth R Westerback |
2015-11-18 | g_flag does not need to be a global. Move it inside main(). | Kenneth R Westerback |
2015-11-18 | Rejig the MBR file reading logic so | Kenneth R Westerback |
2015-11-18 | Read MBR immediately, and only read the GPT if the MBR is a | Kenneth R Westerback |
2015-11-15 | Move zapping of invalid GPT data into GPT_get_gpt() rather than | Kenneth R Westerback |
2015-11-14 | Since -l is ignored if -c/-h/-s are specified, make that combination | Kenneth R Westerback |
2015-11-14 | Consolidate usage() checking for -c/-h/-s with other checks. Tweak | Kenneth R Westerback |
2015-11-14 | pledge("stdio", NULL) for code path that just prints the MBR or GPT. i.e. | Kenneth R Westerback |
2015-11-14 | If none of -i, -u or -e are specified exit immediately after the | Kenneth R Westerback |
2015-11-13 | No need to supplement usage() with extra messages about -b needing -i, or | Kenneth R Westerback |
2015-11-13 | No need to zero a global variable before use. | Kenneth R Westerback |
2015-11-13 | Make usage() output fit on a 'normal' 80-character line. Tweak some | Kenneth R Westerback |
2015-11-13 | Move from opening/closing disk for every i/o to opening the disk once | Kenneth R Westerback |
2015-11-11 | Display full disk size when editing GPT, not the truncated MBR size. Display | Kenneth R Westerback |
2015-10-26 | Add GPT editing. Based on GSOC 2014 work by Markus Muller. | Kenneth R Westerback |
2015-10-05 | Enhance '-g' to create a default GPT label in addition to the protective | Kenneth R Westerback |
2015-09-06 | correct a mistake in my previous commit; | Jason McIntyre |
2015-09-04 | shuffle -b into place; while there, do some general tidy up | Jason McIntyre |
2015-09-04 | Add a -b option, to be used together with -i, that tells fdisk to add a | Mark Kettenis |
2015-07-09 | Nuke unused variable. | Kenneth R Westerback |
2015-07-08 | Do not attempt to read a disk sector worth of data from the file | Kenneth R Westerback |
2015-03-19 | Nuke now unused variable. | Kenneth R Westerback |
2015-03-18 | Stop passing around little used 'struct mbr tt' parameter. Just | Kenneth R Westerback |
2015-03-17 | Stop passing around little used and superfluous 'offset' parameter. | Kenneth R Westerback |
2015-03-16 | Stop passing around a pointer to the stack variable 'disk' in main(). | Kenneth R Westerback |
2015-03-16 | Document that -i/-u are mutually exclusive and clean up the related | Kenneth R Westerback |
2015-03-14 | Whitespace & KNF tweaks. Change functions whose return values are | Kenneth R Westerback |
2015-03-14 | Switch all the license blocks to the standard OpenBSD/ISC license. | Kenneth R Westerback |
2015-02-09 | Rename 'm_flag' to 'e_flag' since it's '-e' that sets it. Rename | Kenneth R Westerback |
2015-01-03 | Add support for creating a protective MBR for GPT. | Joel Sing |
2014-03-20 | Add back various #includes of err.h, unistd.h, ctype.h, ioctl.h to | Kenneth R Westerback |
2014-03-17 | Nuke pointless blank lines, defines, comments and casts. Eliminate | Kenneth R Westerback |
2014-03-17 | Un-revert, being careful to not break snap building. Add paranoia check | Kenneth R Westerback |
2014-03-14 | Revert last -- broke building snaps. | Kenneth R Westerback |
2014-03-13 | Merge 'struct DISK_metrics' and 'struct disk' into one, since we don't | Kenneth R Westerback |
2014-03-09 | Instead of passing around 'char buf[DEV_BSIZE]' buffers, pass around | Kenneth R Westerback |
2014-03-07 | Relieve the code of an overburden of unnecessary typedef | Kenneth R Westerback |
2014-03-06 | tweak previous; | Jason McIntyre |
2014-03-02 | -l disksize code, to force LBA mode. code by chris, after I suggested | Theo de Raadt |
2013-03-21 | more substantial include cleanup | Theo de Raadt |