summaryrefslogtreecommitdiffstats
path: root/sbin/fdisk (follow)
Commit message (Expand)AuthorAgeFilesLines
* replace fgetln(3) with getline(3) in fdisknaddy2021-01-311-11/+9
* Make editing GPT easier/safer by defaulting offet to beginning of largestkrw2021-01-303-19/+149
* document that sizes in fdisk can be input and printed in terabytesnaddy2021-01-301-6/+10
* extra garbage line found during archeologyderaadt2020-07-211-2/+1
* snprintf/vsnprintf return < 0 on error, rather than -1.deraadt2019-07-031-2/+2
* socppc makes an extended visit to the bigbucket.deraadt2019-05-111-2/+2
* Add '*' to disklabel(8) editor prompt when in-memory copy of disklabelkrw2019-04-292-8/+11
* Prefer <fcntl.h> over <sys/fcntl.h> in userlandguenther2018-04-263-7/+7
* Range check default values so that a range likekrw2017-11-161-3/+5
* Constrain MBR partition offsets to 0 .. disk.size - 1.krw2017-11-131-2/+2
* cleanup fdisk(8) partition names used by FAT file systems so they are moresobrado2017-03-262-18/+18
* The "disk too large" and "only LBA values saved" messages are morekrw2016-12-272-11/+2
* 'reinit' should check the MBR on disk, as the man page says.krw2016-09-031-2/+2
* no more boot_zaurus.8;jmc2016-09-031-3/+2
* Nuke now unused 'sz' variable.krw2016-09-011-5/+1
* EFI firmware has been encountered that is (from our point of view) confusedkrw2016-09-011-6/+9
* capitalize a question like all the othersjcs2016-08-021-2/+2
* Move pledge after opendev and DIOCGPDINFO. Fixes e.g. fdisk /dev/tty.tb2016-06-251-5/+5
* Dump strdup()/free() dance and just use a local buffer to translate helpkrw2016-03-301-9/+7
* The GPT versions of help strings that don't contain'MBR' werekrw2016-03-281-9/+7
* Remove unused variablesmestre2016-03-282-6/+4
* Accept only character special devices rather than generating a corekrw2016-03-091-4/+3
* A disk name of /dev/wd0c doesn't work. Correct verbiage and example.krw2016-02-231-7/+7
* Revamp the display of GPT information, hiding less importantkrw2016-01-095-79/+77
* Revert r1.59's over-enthusiatic MBR zero'ing in MBR_init(). It waskrw2015-12-301-2/+10
* Use 'standard' gpt_chk_mbr() to check for protective MBR.krw2015-12-271-19/+47
* In olden times (i + u + e) was considered a clever way to 'or'krw2015-12-121-3/+3
* Open disk READONLY if none of i, e or u are specified.krw2015-12-123-7/+8
* there are no boot_ pages for armish or landisk that i can see,jmc2015-12-111-4/+2
* Add '-v' flag that forces the display of both GPT's and the MBR.krw2015-12-116-25/+58
* Fix inexplicable use of 'disk' instead of 'disk.name' when trying tokrw2015-12-011-2/+2
* Make '-i' set 'reinited' flag so that the initial Xwrite() will zapkrw2015-12-012-2/+5
* When prompting for a GPT partition type, use the partition's current type astim2015-11-265-10/+38
* When prompting for an LBA, show the min and max values in the prompt; OK krw@tim2015-11-261-2/+3
* Try harder to prevent 0-length partitions from being defined.krw2015-11-251-9/+10
* pledge "stdio rpath wpath disklabel proc exec" throughout, afterderaadt2015-11-241-1/+5
* Bring GPT partition editing into line with MBR partition editingkrw2015-11-213-13/+14
* Nuke long standing annoyance of EDIT() macros and switch both Xedit()krw2015-11-211-53/+60
* When an existing partition is modified in LBA mode, ensure that the partitiontim2015-11-191-7/+12
* Oops. Missed a file.krw2015-11-191-4/+5
* Reduce overburden of unnecessary #include's. Note that param.h iskrw2015-11-197-29/+24
* Change #include <memory.h> to #include <string.h>krw2015-11-182-4/+4
* Parse the original on-disk MBR into a local variable. Use thekrw2015-11-183-29/+7
* g_flag does not need to be a global. Move it inside main().krw2015-11-181-4/+2
* Rejig the MBR file reading logic sokrw2015-11-181-21/+16
* USER_edit() (a.k.a. -e) edits the on-disk information. So zap GPTkrw2015-11-181-1/+8
* Read MBR immediately, and only read the GPT if the MBR is akrw2015-11-181-9/+8
* note that -chs and -l are mutually exclusive;jmc2015-11-171-2/+14
* Move zapping of invalid GPT data into GPT_get_gpt() rather thankrw2015-11-153-12/+15
* Since -l is ignored if -c/-h/-s are specified, make that combinationkrw2015-11-142-34/+35