summaryrefslogtreecommitdiff
path: root/sbin/disklabel/disklabel.c
AgeCommit message (Expand)Author
2015-11-24Need 'cpath' for op == EDITOR, as '-F' to write out the ascii label inKenneth R Westerback
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-10-11If only displaying the disklabel (the normal thing to do against potentiallyTheo de Raadt
2015-10-05Remove 'landisk' from the comment about NUMBOOT archs. Only oneKenneth R Westerback
2015-09-24Remove hppa/hppa64 from comment about NUMBOOT > 0 architectures.Kenneth R Westerback
2015-09-24Expunge VAX SMD special handling that tried to fill up the lastKenneth R Westerback
2015-09-09No need to check !xxboot inside a 'if (!xxboot) ...' block.Kenneth R Westerback
2015-08-20<stdlib.h> is included, so do not need to cast result fromTheo de Raadt
2015-08-15Less damned spurious whitespace.Kenneth R Westerback
2015-06-03Do not assume that asprintf() clears the pointer on failure, whichTodd C. Miller
2015-04-29some fine-tuning in SYNOPSIS, usage, and order of options, with jmcHenning Brauer
2015-04-29support passing a template file for the auto-allocation to disklabel.Henning Brauer
2015-02-07When getopt processing flags, many should be flag=1 instead of flag++Theo de Raadt
2015-01-20Adjust <sys/param.h> comments regarding use of use of MAXFRAG, orTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-07-20Make sure the correct errno is reported by warn* or err* and notPhilip Guenther
2014-05-05Enhance reading of saved ascii labels (-R) to process mountpointKenneth R Westerback
2014-04-23don't clear label before readasciilabel(), it will not fill in someOtto Moerbeek
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
2014-02-14Ooops. r1.169 was supposed to add 'total sectors' to the list ofKenneth R Westerback
2013-11-22Whole bunch of (unsigned char) casts carefully added for ctype calls.Theo de Raadt
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-18Initialize duid memory before shifting stuff into elements of it.Kenneth R Westerback
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2012-04-06there is no need to cast an unsigned type with (unsigned).Theo de Raadt
2012-01-16Nuke unused parameter (f) to makebootarea(). Unused since r1.123Kenneth R Westerback
2012-01-02Tweak usage and man page into agreement.Kenneth R Westerback
2012-01-02'-s' hasn't done anything for a couple of years. Garbage collectKenneth R Westerback
2011-06-05Nuke uses of and references to DIOCWLABEL, and the related 'W' andKenneth R Westerback
2011-06-02Hack to ensure that the in-core labels contain the current boundsKenneth R Westerback
2011-05-22zap unused varOtto Moerbeek
2011-04-19make same changes regarding -f/-F argument (tempfile -> file) as was doneAlexander Hall
2011-04-16Tweak man page and usage string with jmc@ suggestions.Kenneth R Westerback
2011-04-16Add '-F'. Same as '-f' but uses DUIDs when writing the mount pointKenneth 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-23Correctly identify mount points when they are specified in /etc/fstab usingJoel 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-08make disklabel -p slightly nicer by accepting capital letters and printingTed Unangst
2010-08-03Group string comparisons and supply more helpful comments. AddKenneth R Westerback
2010-08-03Start with the default label when RESTORE'ing a saved ascii label.Kenneth R Westerback
2010-07-27Nuke 'sectoffset'. A stub variable no longer used except to supplyKenneth R Westerback
2010-06-30allow uppercase A-F in the uid inputAlexander Hall
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
2010-04-28Move the UID printing/parsing code into separate functions and avoid usingJoel Sing