Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-05 | Remove 'landisk' from the comment about NUMBOOT archs. Only one | Kenneth R Westerback | |
NUMBOOT arch is left: Vax. | |||
2015-10-05 | Remove disklabel -B support on landisk - superseded by MI installboot. | Miod Vallat | |
2015-09-24 | Remove hppa/hppa64 from comment about NUMBOOT > 0 architectures. | Kenneth R Westerback | |
2015-09-24 | Expunge VAX SMD special handling that tried to fill up the last | Kenneth R Westerback | |
cylinder of the disk with extra copies of the boot blocks and disklabel. There are no plans to ever support the native SMD controllers that would find this useful. ok miod@ | |||
2015-09-24 | hppa/hppa64 use installboot(8) now, not -B/-b. | Kenneth R Westerback | |
Only vax and landisk left using -B/-b. ok jsing@ miod@ | |||
2015-09-10 | use .In rather than .Fd #include | Ingo Schwarze | |
2015-09-09 | No need to check !xxboot inside a 'if (!xxboot) ...' block. | Kenneth R Westerback | |
ok otto@ deraadt@ | |||
2015-09-08 | Avoid a SIGSEGV with FGJ malloc.conf flags when a template is used. | Todd C. Miller | |
Found by jsg@. OK jsg@ deraadt@ | |||
2015-08-20 | <stdlib.h> is included, so do not need to cast result from | Theo de Raadt | |
malloc, calloc, realloc* ok krw millert | |||
2015-08-15 | Less damned spurious whitespace. | Kenneth R Westerback | |
2015-06-03 | Do not assume that asprintf() clears the pointer on failure, which | Todd C. Miller | |
is non-portable. Also add missing asprintf() return value checks. OK deraadt@ guenther@ doug@ | |||
2015-05-19 | improve spacing in disklabel template. | Igor Sobrado | |
2015-05-08 | Separately track the number of items in alloc_table in a variable. With | Stuart Henderson | |
the changes for handling template files in r1.293, alloc_table became a pointer to an array of structs (rather than the array itself), so nitems(alloc_table) no longer returns the number of elements. As found by sebastia@, autosize would only try the first allocation scheme, so installation would fail on small disks. ok henning@ | |||
2015-04-29 | some fine-tuning in SYNOPSIS, usage, and order of options, with jmc | Henning Brauer | |
2015-04-29 | g/c unneeded second char * var, ok benno | Henning Brauer | |
2015-04-29 | support passing a template file for the auto-allocation to disklabel. | Henning Brauer | |
template gives mountpoints, min-max size ranges and percentage of disk foremost intended for autoinstalls, installer bits to follow soon. with input from many, ok theo | |||
2015-03-17 | for small mem machines, make sure max does not get smaller than | Otto Moerbeek | |
min, otherwise the constraint cannot be satisfied; ok deraadt@ okan@ | |||
2015-02-28 | Reduce usage of predefined strings in manpages. | Anthony J. Bentley | |
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@ | |||
2015-02-07 | When getopt processing flags, many should be flag=1 instead of flag++ | Theo de Raadt | |
ok tedu miod | |||
2015-01-20 | Adjust <sys/param.h> comments regarding use of use of MAXFRAG, or | Theo de Raadt | |
delete <sys/param.h> if now possible ok guenther | |||
2015-01-16 | Constify the driver name to disk type table, and remove rz and ccd from that | Miod Vallat | |
list. ok krw@ millert@ | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-10-11 | Userland reallocarray() audit. | Doug Hogan | |
Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@ | |||
2014-07-20 | Make sure the correct errno is reported by warn* or err* and not | Philip Guenther | |
the errno of an intervening cleanup operation like close/unlink/etc. Diff from Doug Hogan (doug (at) acyclic.org) | |||
2014-07-16 | Yes /etc/disklabels/ is a good practice for placing labels of disks | Theo de Raadt | |
in case of catastropy. But it is so poorly documented that any admin is more likely to store the labels elsewhere, so let's stop bothering with providing the directory. Discussed a bit, no objections. | |||
2014-07-10 | Forward declarations for mpcopy & mpfree. | Florian Obser | |
OK miod@, deraadt@ | |||
2014-05-07 | jmc@ points out '-F/-f' are available only in conjunction with | Kenneth R Westerback | |
'-E' and '-R'. | |||
2014-05-05 | Enhance reading of saved ascii labels (-R) to process mountpoint | Kenneth R Westerback | |
information if present. Can be used with -F/-f options to create an fstab from the saved label. ok otto@ | |||
2014-05-02 | remove unused variable | Charles Longeau | |
ok otto@ krw@ | |||
2014-05-02 | 'for (part == 0; ...)' is not the same as 'for(part = 0; ...)'. | Kenneth R Westerback | |
Should fix mysterious crashes when twiddling mount points. Too much Marrakesh sun. Pointed out by Owain G. Ainsworth. Thanks! | |||
2014-04-23 | don't clear label before readasciilabel(), it will not fill in some | Otto Moerbeek | |
required fields like disk size, causing consistency check failures. with and ok krw@ | |||
2014-04-21 | Don't leak mountpoint info. Now with replacement for silly realloc() dance | Kenneth R Westerback | |
that appears to fix mysterious crashes seen with previous version that tried to sneak in to 5.5. ok otto@ | |||
2014-04-13 | At some point, we are going to switch the mandoc(1) default | Ingo Schwarze | |
from -Tascii to -Tlocale, even though not quite yet because there are more important things to do first. But let's already make -Tascii explicit in the build system right now, it is safer anyway. | |||
2014-04-03 | Proper validation and computation of bsize in expert mode; ok krw@ millert@ | Otto Moerbeek | |
2014-03-18 | Retire hp300, mvme68k and mvme88k ports. These ports have no users, keeping | Miod Vallat | |
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish. | |||
2014-02-22 | Revert mountpoints tweaking. Needs much more serious surgery than time | Kenneth R Westerback | |
permits before release, and is pointless without other following diffs to justify it that will not make release. Should fix segfault's during install reported by Rod Whitworth on tech@ | |||
2014-02-16 | Further tweak to mpfree(). Don't bother setting about-to-be-freed | Kenneth R Westerback | |
memory to NULL. | |||
2014-02-15 | Don't risk dereferencing NULL pointer to mountpoints array | Kenneth R Westerback | |
when calling mpfree() with the array. | |||
2014-02-15 | Stop leaking mount point strings in temporary copies of the | Kenneth R Westerback | |
mountpoints array. | |||
2014-02-14 | Ooops. r1.169 was supposed to add 'total sectors' to the list of | Kenneth R Westerback | |
fields that are ignored when reading an ascii disklabel. Actually remove the parsing of 'total sectors', which was just above the line trying to skip said parsing. Spotted when halex@ forced me to read this code again. | |||
2013-11-22 | Whole bunch of (unsigned char) casts carefully added for ctype calls. | Theo de Raadt | |
Careful second audit by millert | |||
2013-11-12 | add a variety of missing prototypes | Theo de Raadt | |
2013-10-31 | List all generated files in CLEANFILES. | Ingo Schwarze | |
Issue mentioned by fgs@ on ICB. ok fgs@ bluhm@ krw@ | |||
2013-10-21 | improve on last commit: take 10% for swap, with a max of physmem plus a bit | Otto Moerbeek | |
2013-10-18 | allow more space for swap with big disks, useful for hibernation; | Otto Moerbeek | |
requested by deraadt@ | |||
2013-10-15 | The disklabel variables aflag and dflag are boolean, use logical | Alexander Bluhm | |
instead of binary operators for comparison. OK krw@ | |||
2013-10-03 | Print u_int64_t variables with %llu. | Kenneth R Westerback | |
2013-09-10 | The rule is: daddr_t variables hold counts of 512-byte blocks, a.k.a. | Kenneth R Westerback | |
DEV_BSIZE blocks. Counts of possibly other-sized blocks (e.g. disk sector addresses) are u_int64_t. The values stored in disklabels are counts of possibly other-sized blocks and hence should be handled with u_int64_t variables. Start enforcing this rule. No intended functional change. Rule strongly suggested by deraadt@ | |||
2013-08-14 | some Bx/Ox conversion; | Jason McIntyre | |
From: Jan Stary | |||
2013-06-18 | Initialize duid memory before shifting stuff into elements of it. | Kenneth R Westerback | |
No doubt quiets one or more of the fringe compilers out there. Use variable 'part' rather than recalculating same value in the subsequent printf(). From dhill. ok otto@ |