summaryrefslogtreecommitdiff
path: root/sbin/disklabel/editor.c
AgeCommit message (Expand)Author
2009-12-24spelling fixes, from Brad Tilley; we will not fix src/sbin/dump/dump.hIgor Sobrado
2009-11-124 memory leaks found by parfait; ok millertTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-10-01There is no -F flag, it is -f; spotted by tasm.devil@googlemailTheo de Raadt
2009-08-12Crank the /usr sizes in the large configurationTheo de Raadt
2009-08-07move editor_allocspace & mpsave out to extern.h so that disklabel.cMartynas Venckus
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-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-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-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-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-03-30Oops. Document new 'U' editor command in '?' output too.Kenneth R Westerback
2009-03-30lint; mostly unused variables, carefully checked against all platformsTheo de Raadt
2009-03-29otto points out that the -v printing changes are incompatible with theTheo de Raadt
2009-03-28do not crash when no mountpoints, spotted by otto; ok krwTheo de Raadt
2009-03-28Move some output under the control of the '-v' flag. In particular onlyKenneth R Westerback
2009-03-28Add 'U' command to E(ditor). It reverts label to state it was inKenneth R Westerback
2009-03-28for A, use real megs and gigs (power of 2 based); adapt the table toOtto Moerbeek
2009-03-22let u (undo) work for the A command; ok krwTheo de Raadt
2009-03-22Add 'A' command to Editor mode, and -A flag to automatically execute itKenneth R Westerback