summaryrefslogtreecommitdiff
path: root/sbin/disklabel/editor.c
AgeCommit message (Expand)Author
2003-12-29Add support for % and & units to indicate percent of total space andTodd C. Miller
2003-12-20make disklabel docs more readable: more logical SYNOPSIS; sort options;Jason McIntyre
2003-09-24realloc fixes; ok hoTheo de Raadt
2003-08-29exclude __sparc64__ since it can handle 16k blocks. from jason@Ted Unangst
2003-08-28sparcs cannot handle booting from > 8k block partitions, so set the rootTed Unangst
2003-07-29spacesTheo de Raadt
2003-07-16new default frag/block sizes.Ted Unangst
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
2003-06-11ansificationTheo de Raadt
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-04-05o replace a strncpy + manual NUL terminate w/ strlcpyTodd C. Miller
2003-02-13add support for printing disklabels in units other than sectors fromTed Unangst
2002-06-09rm trailing whitespaceTodd T. Fries
2002-05-22strcpy, sprintf death; mpech okTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2002-01-24Fix `necesary' typos; Alexander YurchenkoTodd C. Miller
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
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