summaryrefslogtreecommitdiff
path: root/sbin/disklabel/editor.c
AgeCommit message (Expand)Author
2001-05-19When zeroing out the parition table, make 'c' the entire disk, not justTodd C. Miller
2001-03-12correct warning; maurice@maurice.wan.nlTheo de Raadt
2000-10-22Use clearerr(3) to clear EOF on stdin when aborting a command due to ^D.Todd C. Miller
2000-08-13Get rid of fflush(stdout); rewind(stdin); pairs since we should notTodd C. Miller
2000-06-04Don't exit just because we couldn't get the default label...Todd C. Miller
2000-06-04Add 'D' and 'z' commands to editor to use the default partition andTodd C. Miller
2000-05-05Reserve the first cylinder for bootblock if NUMBOOT=1. Basically treatTodd C. Miller
2000-04-04Add "expert mode" and don't prompt for fsize/bsize/cpg unless an expertTodd C. Miller
2000-03-23Don't use the BIOS geometry by default, it causes too many problems.Todd C. Miller
2000-02-21missing newlineTheo de Raadt
1999-07-14put in a check for architectures that demand that partition A start at sector 0Theo de Raadt
1999-06-10Handle PAGER in a manner consistent with the Single Unix Specification:Paul Janzen
1999-06-06typo; mcsmart@engin.umich.eduAaron Campbell
1999-04-07Kill -F option, it is not needed and just plain wrong anywayTodd C. Miller
1999-04-07XXX temp fix for whole_mode; todd will fix better in tomorrowTheo de Raadt
1999-04-07o Be silent on fstab writingTodd C. Miller
1999-04-01get mountpoint before fsize/bsize/cpg and crunch things a bitTodd C. Miller
1999-04-01Fix filesystem type when writing fstab in -f modeTodd C. Miller
1999-04-01Use fstypenames, not fstypesnames since fstypesnames does not list strings fo...Todd C. Miller
1999-03-23Rename -F option to -f and add a new -F (full disk) option to use in -E mode.Todd C. Miller
1999-03-21dosdp should be externTodd C. Miller
1999-03-21Add support for switching disk geometry between disk, bios, and userTodd C. Miller
1999-03-21If there are any BSD or SWAP partitions beyond ending_sector we extendTodd C. Miller
1999-03-18make sure mountpoint starts with '/' and call get_mp() from editor_name() ins...Todd C. Miller
1999-03-18Sort entries by mountpoint, not partition number when writing fstab viaTodd C. Miller
1999-03-16put duplicate code into its own functions and fix some minor problems this br...Todd C. Miller
1999-03-16Add -F flag to cause editor to prompt for mount points and save the resulting...Todd C. Miller
1999-03-16Fix longstanding problem when rounding values to neared cylinder.Todd C. Miller
1999-03-13Allow user to delete partitions outside the openbsd part of the diskTodd C. Miller
1999-03-13Add support for delete "*"Todd C. Miller
1999-03-01Change undocumented '-p' flag to '-d' and document. Also document '-v'.Todd C. Miller
1998-10-11When rounding to cylinder boundaries check to make sure we don't round up pas...Todd C. Miller
1998-08-07Support PAGER environment vairable in conjuction with the 'M' command.Todd C. Miller
1998-08-06add more detailed help accessible via '? [abcdmpMqrsuwxe]'Todd C. Miller
1998-07-29when changing a partition from unknown to 4.2BSD, provide sane defaults for f...Todd C. Miller
1998-07-26Don't skip 'b' when suggesting the next partition to add. I thought it would...Todd C. Miller
1998-07-26When asking the user for the disk type, base the default on the device name. ...Todd C. Miller
1998-07-26Don't allow user to do 'a c' since c always exists. They can still do 'c c'....Todd C. Miller
1998-07-23Fix annoying bug where disklabel would give you wrong default size for lastConstantine Sapuntzakis
1998-06-21Remove the advertising clause in my old license, it impedes free useTodd C. Miller
1998-05-07get rid of #ifdef OLD_SCSI stuff. It is not usefulTodd C. Miller
1998-05-07let user set d_interleave, and force it to be >= 1Todd C. Miller
1998-04-14Set label.d_bbsize and label.d_sbsize if we have a fictious labelTodd C. Miller
1998-04-11mention IDE, or people will get all confusedTheo de Raadt
1998-04-08Make undo recalculate free space. Also adds 'r' command to recalculateTodd C. Miller
1998-02-28Be consistent wrt suggesting ESDI for IDE and using ESDI even ifTodd C. Miller
1998-02-19deal with partition type renamedTheo de Raadt
1998-01-11Tell the user to enter ESDI for IDE, not ST506. Also treat IDE as ESDITodd C. Miller
1998-01-05recalculate the free sectors after changing boundaries.Artur Grabowski
1998-01-05check if the partitions are below the boundaries and not only above whenArtur Grabowski