summaryrefslogtreecommitdiff
path: root/sbin/disklabel
AgeCommit message (Expand)Author
2009-07-27add a section on automatic disk allocation, to give an idea ofJason McIntyre
2009-06-26since nitems() is not yet fit for userland consumption, provide itTheo de Raadt
2009-06-11'd *' == 'z' == zero_partitions(). Mount point info needs to beKenneth R Westerback
2009-06-04Recycle four ancient fields in the disklabel structure, replacing them withTheo de Raadt
2009-06-02remove unused variableCharles Longeau
2009-06-02Add '-h' flag, and '*' as a unit specifier for 'p' Editor command.Kenneth R Westerback
2009-05-31Always show the start and end of the OpenBSD area in units ofKenneth R Westerback
2009-05-31'-d' works everywhere now. And it ignores the OpenBSD disk label,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-17No need to write mount point info twice in 'w' command in Editor.Kenneth R Westerback
2009-05-17Write out mountpoint info in writelabel() after label successfullyKenneth R Westerback
2009-05-17Initialize mountpoints[] when going past again:, since aKenneth R Westerback
2009-05-13The auto-allocator does not remember to increase the d_npartitions fieldTheo de Raadt
2009-05-13Set D_VENDOR when spoofing a label on archs that use D_VENDOR whenKenneth R Westerback
2009-05-12Various mount point handling fixes, most originally from halex@.Kenneth R Westerback
2009-05-11Make sure last, catch-all, auto-allocated partition ends on aKenneth R Westerback
2009-05-11very long lines in comments are uglyTheo de Raadt
2009-05-11Always save an fstab file, even if it is empty; ok krwTheo de Raadt
2009-05-05use logical or when it's intended to be a logical or; ok krw@Otto Moerbeek
2009-05-03Prevent the entry of duplicate mount points while in Editor mode.Kenneth R Westerback
2009-05-03Tune the medium profile to provide more /usr space as 'requested' by beckTheo de Raadt
2009-04-30in the big configuration, tune /tmp so that it scales up a bit slower,Theo de Raadt
2009-04-30Prime mountpoint info with any fstab info that is available, withKenneth R Westerback
2009-04-29KNFTheo de Raadt
2009-04-29increase the max for medium a bit, so e.g. a 6GB disk gets fully usedOtto Moerbeek
2009-04-26adjust the numbers for the "big" auto-allocation scheme with ottoTheo de Raadt
2009-04-26Adjust the medium auto scale after looking at how it performs between theTheo de Raadt
2009-04-26smarter auto-allocation; numbers needs tweaking, but we are gettingOtto Moerbeek
2009-04-26Fix 'n' (name mountpoint) Editor command. The check for the presenceKenneth R Westerback
2009-04-23Unrevert reversion of r1.192. This time make sure 'aflag' is treatedKenneth R Westerback
2009-04-20No this change is wrong, because now 'w' followed by 'q' asks if youTheo de Raadt
2009-04-18Alexander Hall points out that disklabel -AE <disk> followed by quittingStuart Henderson
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-11Treat the list of auto-allocation partitions as a priority list andKenneth R Westerback
2009-04-10allow /usr/local to be up to 5MB in auto mode; ok krwTheo de Raadt
2009-04-10Re-work '-A' so that it sets a flag that -E and -w use, and which willKenneth R Westerback
2009-04-04Translate the size values in the auto-allocate table from blocks toKenneth R Westerback
2009-04-03Bring comment into line with other docs. -E(dit) is not just forKenneth R Westerback
2009-04-01the note explaining partition letters is not a caveat, it is integral toJason McIntyre
2009-03-31When warning about a non-zero partition offset, show DL_GETPOFFSET()Kenneth R Westerback
2009-03-31Beef up description of 'c' partition in CAVEATS and remove mentions ofKenneth R Westerback
2009-03-31Tweak comment to remove discussion of now non-existant 2 stageKenneth R Westerback
2009-03-31Remove lies about and tweak descriptions of built-in label editor,Kenneth R Westerback
2009-03-30Oops. Document new 'U' editor command in '?' output too.Kenneth R Westerback
2009-03-30Document new 'U' editor command.Kenneth 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