summaryrefslogtreecommitdiff
path: root/sbin/disklabel/editor.c
AgeCommit message (Expand)Author
2017-12-18Tighten /usr/local and /usr/X11R6 so that 8G disks still fit in our defaultAntoine Jacoutot
2017-11-28in auto-allocation, increase size of /usr/src to 1.3G.Sebastian Benoit
2017-09-29don't be silent on auto-allocation failure in write mode. ok millert@ krw@Otto Moerbeek
2017-05-19tweak partition sizes for auto-alloction to better suit 8G disksOtto Moerbeek
2017-04-19enlarge obj to satisfy new world order that has *big* compilers andOtto Moerbeek
2017-03-04Allow R (resize auto-partition) after A as well as when started with -A.Otto Moerbeek
2016-10-06init auto-partition table to zeroes; ok tb@Otto Moerbeek
2016-09-02Allow editing cpg in expert mode and align the cpg field properlyOtto Moerbeek
2016-09-01remove references to sparcTed Unangst
2016-08-19Start with a default fragsize of 2048, double it for large disks and then capOtto Moerbeek
2015-12-10Remove NULL-checks before free(). ok tb@mmcc
2015-11-23Use pledge "disklabel" as needed. The theory here is these tools become moreTheo de Raadt
2015-10-17NUMBOOT is dead! Nuke the variables and abstractions that were usedKenneth R Westerback
2015-10-15Remove disklabel -B (NUMBOOT) support. All the platforms which used to needMiod Vallat
2015-09-08Avoid a SIGSEGV with FGJ malloc.conf flags when a template is used.Todd C. Miller
2015-05-08Separately track the number of items in alloc_table in a variable. WithStuart Henderson
2015-04-29g/c unneeded second char * var, ok bennoHenning Brauer
2015-04-29support passing a template file for the auto-allocation to disklabel.Henning Brauer
2015-03-17for small mem machines, make sure max does not get smaller thanOtto Moerbeek
2015-01-20Adjust <sys/param.h> comments regarding use of use of MAXFRAG, orTheo de Raadt
2015-01-16Constify the driver name to disk type table, and remove rz and ccd from thatMiod Vallat
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-10-11Userland reallocarray() audit.Doug Hogan
2014-07-10Forward declarations for mpcopy & mpfree.Florian Obser
2014-05-02remove unused variableCharles Longeau
2014-05-02'for (part == 0; ...)' is not the same as 'for(part = 0; ...)'.Kenneth R Westerback
2014-04-21Don't leak mountpoint info. Now with replacement for silly realloc() danceKenneth R Westerback
2014-04-03Proper validation and computation of bsize in expert mode; ok krw@ millert@Otto Moerbeek
2014-02-22Revert mountpoints tweaking. Needs much more serious surgery than timeKenneth R Westerback
2014-02-16Further tweak to mpfree(). Don't bother setting about-to-be-freedKenneth R Westerback
2014-02-15Don't risk dereferencing NULL pointer to mountpoints arrayKenneth R Westerback
2014-02-15Stop leaking mount point strings in temporary copies of theKenneth R Westerback
2013-11-22Whole bunch of (unsigned char) casts carefully added for ctype calls.Theo de Raadt
2013-11-12add a variety of missing prototypesTheo de Raadt
2013-10-21improve on last commit: take 10% for swap, with a max of physmem plus a bitOtto Moerbeek
2013-10-18allow more space for swap with big disks, useful for hibernation;Otto Moerbeek
2013-10-15The disklabel variables aflag and dflag are boolean, use logicalAlexander Bluhm
2013-10-03Print u_int64_t variables with %llu.Kenneth R Westerback
2013-09-10The rule is: daddr_t variables hold counts of 512-byte blocks, a.k.a.Kenneth R Westerback
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2013-04-19make sure the fs blocksize doesn't get too big; ok krw@Otto Moerbeek
2012-07-13Replace a '512' with DEV_BSIZE. Calculate physmem size in blocks andKenneth R Westerback
2012-03-18getuint() -> getuint64() to make it crystal clear. No functionalKenneth R Westerback
2012-03-18Wrap some long lines I keep fixing, shrinking various diffs. NoKenneth R Westerback
2012-01-30fix format stringCharles Longeau
2012-01-19Even 'X'perts should not be able to use the built in editor toKenneth R Westerback
2012-01-17No need for saying out loud what we're thinking during auto-allocation.Kenneth R Westerback
2012-01-17Avoid ffs fragsize < sector-size when 'a'dding a partition via theKenneth R Westerback
2012-01-02Change last "#if (NUMBOOT == 1)" to "#if NUMBOOT > 0".Kenneth R Westerback
2011-12-25miod@ reported problems reproducing a 'pre-4K fix' disklabel. So in theKenneth R Westerback