summaryrefslogtreecommitdiff
path: root/sbin/disklabel/editor.c
AgeCommit message (Expand)Author
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
2011-12-01Fix negating of unsigned d_secsize. FIRST, cast to signed type,Kenneth R Westerback
2011-10-06mark ccd(4) deprecated in a few more placesTheo de Raadt
2011-07-05Add DIOCGPDINFO to rxioctl(), as a synonym for DIOCGDINFO, the lastKenneth R Westerback
2011-07-05More non-512-byte sector groundwork. Don't let disklabel hint thatKenneth R Westerback
2011-05-24Allow for more room for /usr/obj on static linking only archs; ok krw@ deraadt@Otto Moerbeek
2011-05-23Make /usr/obj a bit bigger, on small disks it ends up just a littleOtto Moerbeek
2011-05-22Apply proper rounding for the R command (changing of auto-allocatedOtto Moerbeek
2011-05-22In addition to relative resizing, allow absolute resizing of partitionsOtto Moerbeek
2011-04-16Add swap partition entries to -F and -f output. man pageKenneth R Westerback
2011-04-16Add '-F'. Same as '-f' but uses DUIDs when writing the mount pointKenneth R Westerback
2011-03-05If an auto-allocation scheme fails because there are not enoughKenneth R Westerback
2011-03-02Every time the user updates the bounds of the OpenBSD area of the disk, eithe...Kenneth R Westerback
2011-02-19If the user screws up adding a partition, don't keep partial bitsKenneth R Westerback
2010-12-13stray tabs and spacesMarco Peereboom
2010-11-24When dealing with disklabel UIDs (DUIDs) be specific and consistent withJoel Sing
2010-09-23Print disklabel UIDs using printf/fprintf instead of using the hand rolledJoel Sing
2010-08-12fix a few warnings. ok jsingTed Unangst
2010-08-10Add support for t/T == terabyte units to -E. Prodded by deraadt@.Kenneth R Westerback
2010-08-09Improve the editor prompt for the 'R' (resize) commandTheo de Raadt
2010-07-27Align FFS filesystem start and end sectors so the start is on aKenneth R Westerback
2010-06-30make the disklabel editor not crash when pressing ^D in the uid promptAlexander Hall
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
2010-05-15grow /usr/local more at the cost of /home; ok krw@Otto Moerbeek
2010-05-11set max size of auto allocated /usr/local to 10G; ok espie@ krw@Otto Moerbeek