Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-04 | Allow R (resize auto-partition) after A as well as when started with -A. | Otto Moerbeek | |
This ability was lost in editor.c 1.264; noted by ajacoutot@; ok krw@ | |||
2016-12-08 | move the text describing the % and & units to a better place; | Jason McIntyre | |
diff from jerome frgacic, tweaked by myself ok krw millert | |||
2016-12-03 | provide missing unit suffixes; from ross l richardson | Jason McIntyre | |
2016-10-06 | init auto-partition table to zeroes; ok tb@ | Otto Moerbeek | |
2016-09-21 | Remove reference to zaurus | Frederic Cambus | |
OK sthen@ | |||
2016-09-04 | After aligning the cpg field, non ffs partitions were not displayed | Alexander Bluhm | |
aligned anymore. Put one more space in front of the "# none" mount point output. OK otto@ | |||
2016-09-02 | Allow editing cpg in expert mode and align the cpg field properly | Otto Moerbeek | |
ok krw@ | |||
2016-09-01 | remove sparc reference; | Jason McIntyre | |
2016-09-01 | remove references to sparc | Ted Unangst | |
2016-08-19 | Start with a default fragsize of 2048, double it for large disks and then cap | Otto Moerbeek | |
based on sector size. This avoid too large fragments on 4k disks. Problem noted by David Vasek; ok krw@ | |||
2016-08-10 | armish handled some early-gen arm machines, which required tons of | Theo de Raadt | |
workarounds. Some of them will soon stand in the way of armv7. Off to the attic you go. | |||
2016-06-19 | Split readlabel() into two functions, readlabel() and parselabel(), and | Theo Buehler | |
pledge in-between the two funtion calls. The new readlabel() only does a DIOC*DINFO ioctl, making sure the fd points to a disk, while parselabel() does the scary string manipulations. In the makelabel() code path do an early DIOCGDINFO before pledge. This fixes yet another pledge problem (disklabel -w /dev/tty floppy576). Some of this was discussed with beck. ok semarie, earlier version ok deraadt | |||
2016-06-13 | correct pledge for disklabel -R -[fF] | Jonathan Gray | |
ok tb@ | |||
2016-06-01 | Fix automatic disk allocation based on a template which I broke in the | Theo Buehler | |
previous commit. readlabel() calls editor_allocspace() which will use the default label unless a template was provided beforehand. Thus, call parse_autolabel() before redlabel(). Problem found and fix provided by Mark Patruck, thanks! Fix asap, deraadt@ | |||
2016-05-29 | Refactor and clean up the logic before pledge a bit and fix pledge | Theo Buehler | |
fallout related to pledge disklabel (e.g. 'disklabel /dev/tty'). - Allow 'disklabel sdN' again for non-root users. - Make sure at least one DIO* ioctl comes before pledge "disklabel" - Fix the op == WRITE logic that broke 'make release' in -r2.217 Based on -r2.17 from beck. ok beck | |||
2016-05-28 | back out previous; -wAT template vnd0 fails | Theo de Raadt | |
2016-05-28 | host readlabel() above the pledge so we can avoid pledge violations | Bob Beck | |
when the provided device is not a disk ok tb@ | |||
2016-05-28 | fix crash if filename not provided | Bob Beck | |
2016-05-28 | Hoist the opendev() call before the pledge because it can ioctl() when | Bob Beck | |
the provided path is bogus or not a device. ok deraadt | |||
2016-03-09 | We are done providing support for the vax. | Theo de Raadt | |
lots of agreement. | |||
2015-12-24 | tweak auto-allocation description, with and ok jmc@ | Otto Moerbeek | |
2015-12-10 | Remove NULL-checks before free(). ok tb@ | mmcc | |
2015-12-01 | Send solbourne to where the ........... | Theo de Raadt | |
2015-11-25 | -A needs cflag too. Noted by sthen@ during install. | Kenneth R Westerback | |
2015-11-24 | Need 'cpath' for op == EDITOR, as '-F' to write out the ascii label in | Kenneth R Westerback | |
an arbitrary location is a possibility. Suggested by & ok deraadt@ | |||
2015-11-23 | Use pledge "disklabel" as needed. The theory here is these tools become more | Theo de Raadt | |
resistant against memory correctup, if a corrupt filesystem is given to them. ok krw | |||
2015-10-17 | NUMBOOT is dead! Nuke the variables and abstractions that were used | Kenneth R Westerback | |
to build boot blocks. ok miod@ | |||
2015-10-16 | Remove -B from EXAMPLES; reminded by jmc@ | Miod Vallat | |
2015-10-15 | Remove disklabel -B (NUMBOOT) support. All the platforms which used to need | Miod Vallat | |
it are now using MI installboot for that purpose. ok krw@ deraadt@ | |||
2015-10-11 | If only displaying the disklabel (the normal thing to do against potentially | Theo de Raadt | |
unknown disks...), after opening & reading the disklabel, pledge "stdio" ok doug | |||
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 |