summaryrefslogtreecommitdiff
path: root/sbin/disklabel/editor.c
AgeCommit message (Expand)Author
2007-07-24rearrange newline printing code during editor startup; ok millert krwTheo de Raadt
2007-06-20if a 4.2BSD partition falls partly within the area defined by theOtto Moerbeek
2007-06-17On Sun machines, disklabels coming from the kernel will now have a d_flagsTheo de Raadt
2007-06-08Simplify rounding to cylinders.Todd C. Miller
2007-06-08second pass, some fields slipped through the first time aroundOtto Moerbeek
2007-06-08Make disklabel(8) aware of the new fields, allowing for larger thanOtto Moerbeek
2007-06-08Fix setting total # sectors in the 'e' command.Todd C. Miller
2007-06-07Add missing parens, fixes a bug aded in rev 1.112 where maxval wouldTodd C. Miller
2007-06-06fix the cylinder rounding calculation for "totally using the space" typeTheo de Raadt
2007-06-04avoid rounding down to zero cylinders. ok marco@Otto Moerbeek
2007-06-01add RAID to the list of partition types for which we do not prompt for aTodd T. Fries
2007-05-29Updated disklabel format to support larger disks and partitions. WeOtto Moerbeek
2007-04-29fix rounding in the modify case; ok millert@ miod@Otto Moerbeek
2007-04-26includes that are not needed anymoreTheo de Raadt
2007-04-26Eliminate CPU_BIOS from userland and wd(4) by always using the BIOSKenneth R Westerback
2007-03-18Check for zero divisor _before_ dividing; do not use floatingOtto Moerbeek
2007-03-13Refactor & fix computation of offset for next partition. Now theOtto Moerbeek
2007-03-02If a default label has been created with the -d command line option orKenneth R Westerback
2007-02-22Always write the disklabel to disk when asked, even if it appears toKenneth R Westerback
2006-10-14Friends don't let friends look for disklabels in Free/NetBSD MBRKenneth R Westerback
2006-07-01Eliminate redundant get_le() in favour of letoh32(). Add letoh32()Kenneth R Westerback
2006-04-26man page is gzip'd, should store as unsigned char array.Theo de Raadt
2006-04-14Remove duplicate code, okay ray@Pedro Martelletto
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