summaryrefslogtreecommitdiff
path: root/sbin/disklabel/editor.c
AgeCommit message (Expand)Author
2005-12-05Avoid an out-of-bounds array access in editor_delete() for invalid partitionMiod Vallat
2005-11-16Fix conversion of K units to handle case where sector size > 1024. e.g.Kenneth R Westerback
2005-01-07Print disk size and free space in requested unit. Some refactoring toOtto Moerbeek
2004-12-11A compare function for heapsort(3) should not just subtract twoOtto Moerbeek
2004-11-06gzip embedded man pages, and pipe through gunzip when viewing.Otto Moerbeek
2004-10-04Allow one more char for fstype, to avoid truncation of ISO9660 fstype.Otto Moerbeek
2004-09-28Tidy disklabel output for todays big disks. Based on a diff from fOtto Moerbeek
2004-08-03Handle geometry parameters as unsigned quantities, getting rid ofOtto Moerbeek
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