summaryrefslogtreecommitdiff
path: root/sbin/disklabel/disklabel.c
AgeCommit message (Expand)Author
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
2010-04-28When restoring a disklabel do not restore the uid. Let the kernel allocateJoel Sing
2010-04-28Teach disklabel how to print and parse UIDs.Joel Sing
2010-04-23Recycle unused disklabel fields in order to create a disklabel uniqueJoel Sing
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-09-15also ignore boundaries when checking if the disklabel was modified when -eFederico G. Schwindt
2009-06-04Recycle four ancient fields in the disklabel structure, replacing them withTheo de Raadt
2009-06-02Add '-h' flag, and '*' as a unit specifier for 'p' Editor command.Kenneth R Westerback
2009-05-31Never 'humanize' the sector offsets of partitions or 'total sectors'.Kenneth R Westerback
2009-05-29Clean up logic around exit values. Make getasciilabel() return 0Kenneth R Westerback
2009-05-17Write out mountpoint info in writelabel() after label successfullyKenneth R Westerback
2009-05-05use logical or when it's intended to be a logical or; ok krw@Otto Moerbeek
2009-04-30Prime mountpoint info with any fstab info that is available, withKenneth R Westerback
2009-04-12When auto-allocating, check the size of the disk and displayKenneth R Westerback
2009-04-11Always display any mountpoint info available. Thus a simple -A willKenneth R Westerback
2009-04-11readlabel() either errored out or returned a pointer to the globalKenneth R Westerback
2009-04-10Re-work '-A' so that it sets a flag that -E and -w use, and which willKenneth R Westerback
2009-03-31When warning about a non-zero partition offset, show DL_GETPOFFSET()Kenneth R Westerback
2009-03-31Tweak comment to remove discussion of now non-existant 2 stageKenneth R Westerback
2009-03-30lint; mostly unused variables, carefully checked against all platformsTheo de Raadt
2009-03-29No more NUMBOOT==2 stuff around, nuke it for sake of clarity.Tobias Weingartner
2009-03-29otto points out that the -v printing changes are incompatible with theTheo de Raadt
2009-03-28Move some output under the control of the '-v' flag. In particular onlyKenneth R Westerback
2009-03-28make -B not even show up in usage on non-NUMBOOT systems; ok jmc krwTheo de Raadt
2009-03-22tweak previous;Jason McIntyre
2009-03-22Add 'A' command to Editor mode, and -A flag to automatically execute itKenneth R Westerback
2009-02-15Don't display, or save via the editor 's' command, the fsize andKenneth R Westerback
2009-01-11On *ppc disks shared with MacOS, walk the Apple partition map to find outMiod Vallat
2008-08-11fix a6 partition lookup where a static variable was incorrectly used inReyk Floeter