CVS commit: src/usr.sbin/sysinst

2021-08-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Aug 12 09:33:59 UTC 2021

Modified Files:
src/usr.sbin/sysinst: defs.h disks.c upgrade.c

Log Message:
PR 56354: all actions to set up swap space are not guaranteed to gain
us enough virtual memory anyway, so drop return codes from set_swap*.
The state for cleanup (which swap dev to unuse) has been made global
some time ago anyway.

Previously use of the return values was inconsistent. Error reporting
will only confuse users and sometimes the situation is hard to fix or
even impossible (like in miniroots copide to swap space for booting).


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.74 -r1.75 src/usr.sbin/sysinst/disks.c
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/sysinst/upgrade.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-08-03 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Aug  3 13:40:33 UTC 2021

Modified Files:
src/usr.sbin/sysinst: util.c

Log Message:
Cleanup alarm(3) handling in the timezone selection menu for error
cases, pointed out by RVP.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-08-03 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Aug  3 13:34:04 UTC 2021

Modified Files:
src/usr.sbin/sysinst: run.c

Log Message:
When reading output from a program we don't know how much it will
be - so scale the buffer (within reasonable limits).
Problem pointed out by RVP, triggered e.g. by disks with lots of GPT
partitions.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/sysinst/run.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-07-20 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul 20 16:41:27 UTC 2021

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c

Log Message:
PR 56303: do not borrow from the default swap allocation if we are in
tiny ram conditions and will need to enable swap early.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/usr.sbin/sysinst/bsddisklabel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-07-20 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul 20 16:40:12 UTC 2021

Modified Files:
src/usr.sbin/sysinst: util.c

Log Message:
RAM size will not change during installation, do the sysctl() dance
only once.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-07-17 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Jul 17 19:27:23 UTC 2021

Modified Files:
src/usr.sbin/sysinst: gpt.c

Log Message:
Use strlcpy() to copy the wedge device name (the code still assumes
the string is short enough and 0 terminated, but now gcc is happy).


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/sysinst/gpt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-07-17 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Jul 17 18:07:23 UTC 2021

Modified Files:
src/usr.sbin/sysinst: gpt.c

Log Message:
PR 56310: if we fail to create a wedge this either means there is
a bug here (and we requested something nonsensial), or there are pre-
existing "foreign" wedges which disturb our work.
So remove all wedges on this disk that we do not know about and retry
to add our new wedge.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/sysinst/gpt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-07-17 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Jul 17 11:32:50 UTC 2021

Modified Files:
src/usr.sbin/sysinst: gpt.c partman.c

Log Message:
PR 56310: avoid assert() failures (or crashes) when the runtime addition
of a wedge fails (for whatever reasons).


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/sysinst/gpt.c
cvs rdiff -u -r1.51 -r1.52 src/usr.sbin/sysinst/partman.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-07-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Jul 14 18:56:05 UTC 2021

Modified Files:
src/usr.sbin/sysinst: disks.c

Log Message:
When converting partitions from one scheme to another, never fail
without providing (if requested) a proper error message.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/usr.sbin/sysinst/disks.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-07-13 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jul 13 09:13:00 UTC 2021

Modified Files:
src/usr.sbin/sysinst: Makefile.inc defs.h

Log Message:
PR install/56303: when using xz files enable swap during set extraction
if the machine does not have more than 256MB of RAM.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/usr.sbin/sysinst/Makefile.inc
cvs rdiff -u -r1.70 -r1.71 src/usr.sbin/sysinst/defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-07-12 Thread Robert Elz
Module Name:src
Committed By:   kre
Date:   Mon Jul 12 19:03:20 UTC 2021

Modified Files:
src/usr.sbin/sysinst: msg_xlat.sh

Log Message:
Revert 1.4, that just trades one problem for a different one
(splitting the message on % instead of white space, which affects
less messages, but makes a bigger mess of them when it happens).

The real problem is that the expansion of the message was unquoted,
which allowed the field splitting to happen at all (which was mitigated
by the way printf rescans its format string for each arg when there are
more args than conversions in the format) otherwise it would have been
a much bigger mess (both times).

Just add quotes where quotes are needed, no more splitting, all good.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/msg_xlat.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-07-11 Thread Chris Pinnock
Module Name:src
Committed By:   cjep
Date:   Sun Jul 11 10:51:46 UTC 2021

Modified Files:
src/usr.sbin/sysinst: msg_xlat.sh

Log Message:
We need IFS to be set to % for the rest of the script so be explicit
about it. Fixes message truncation for non-English in sysinst.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/msg_xlat.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-06-29 Thread Chris Pinnock
Module Name:src
Committed By:   cjep
Date:   Tue Jun 29 08:02:50 UTC 2021

Modified Files:
src/usr.sbin/sysinst: msg_xlat.sh

Log Message:
1. Rework the IFS handling when checking consistency of formatting in
sysinst messages. Closes PR toolchain/56181.
2. Whilst here, change some shell clauses to be more portable.

Patch developed by kre. Also reviewed by martin. Cross-builds tested
on NetBSD, OpenBSD, FreeBSD and Darwin.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/msg_xlat.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-05-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun May  9 11:06:20 UTC 2021

Modified Files:
src/usr.sbin/sysinst: label.c

Log Message:
Do not allow editing of start/size/fs-type for partitions that
are already carved in stone (e.g. defined in an outer MBR while we are
editing the inner disklabel).


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/sysinst/label.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch/evbarm

2021-05-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun May  9 10:39:01 UTC 2021

Modified Files:
src/usr.sbin/sysinst/arch/evbarm: md.c

Log Message:
Keep MSDOS partition size and subtype consistent - some u-boot are picky.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/sysinst/arch/evbarm/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-05-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun May  9 10:37:49 UTC 2021

Modified Files:
src/usr.sbin/sysinst: mbr.c

Log Message:
For FS_MSDOS report the MBR type as fs_sub_type.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/usr.sbin/sysinst/mbr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-04-13 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr 13 07:53:19 UTC 2021

Modified Files:
src/usr.sbin/sysinst: Makefile.inc

Log Message:
some platforms trip -fcommon here too.  we should fix this.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/usr.sbin/sysinst/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-02-13 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Feb 13 15:31:36 UTC 2021

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c

Log Message:
PR 55991: when extending the marked partition (typically: the NetBSD root
partition) round the new size up to current alignment.

This may lead to a slightly smaller than initialy planned last partition
(depending on order added) if the disk size is odd or the partitioning
scheme needs some internal space (like GPT) - but it avoids gaps elsewhere
due to alignement.

Ideally we would pin all other partitions in a first pass and then let
the partitioning backend pick the full available size for the extended
partition, but this should be good enough.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/usr.sbin/sysinst/bsddisklabel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-01-31 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jan 31 22:45:47 UTC 2021

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c checkrc.c configmenu.c defs.h
disklabel.c disks.c geom.c gpt.c label.c main.c mbr.c net.c
part_edit.c partitions.h partman.c target.c txtwalk.c util.c
wskbd.c

Log Message:
sysinst: remove trailing whitespace from *.c *.h

In contrast to the messages files, this whitespace is not significant.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/usr.sbin/sysinst/bsddisklabel.c \
src/usr.sbin/sysinst/util.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/checkrc.c
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/sysinst/configmenu.c
cvs rdiff -u -r1.69 -r1.70 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.42 -r1.43 src/usr.sbin/sysinst/disklabel.c
cvs rdiff -u -r1.71 -r1.72 src/usr.sbin/sysinst/disks.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/geom.c
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/sysinst/gpt.c
cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/sysinst/label.c
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/sysinst/main.c
cvs rdiff -u -r1.37 -r1.38 src/usr.sbin/sysinst/mbr.c
cvs rdiff -u -r1.35 -r1.36 src/usr.sbin/sysinst/net.c
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/sysinst/part_edit.c
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/sysinst/partitions.h
cvs rdiff -u -r1.50 -r1.51 src/usr.sbin/sysinst/partman.c
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/sysinst/target.c
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/txtwalk.c \
src/usr.sbin/sysinst/wskbd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-01-31 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jan 31 22:19:24 UTC 2021

Modified Files:
src/usr.sbin/sysinst: msg.mi.de

Log Message:
sysinst: fix some more typos in the German translation


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/sysinst/msg.mi.de

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-01-31 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jan 31 21:28:16 UTC 2021

Modified Files:
src/usr.sbin/sysinst: msg.mi.de

Log Message:
sysinst: restore the few intentional line breaks in German

Marking a forced line break with a trailing space is a terrible idea.
Most of the lines that previously had trailing whitespace did so
unintentionally, destroying the auto-layout.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/sysinst/msg.mi.de

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-01-31 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jan 31 21:00:43 UTC 2021

Modified Files:
src/usr.sbin/sysinst: msg.mi.de

Log Message:
sysinst: proofread German translation

It was a mixture of all possible styles, with several typos and
inconsistencies.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/sysinst/msg.mi.de

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-01-31 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jan 31 20:51:04 UTC 2021

Modified Files:
src/usr.sbin/sysinst: factor.c

Log Message:
sysinst: warp factor.c to the 21st century

That file contained some conditionally defined code that still used
old-style function definitions.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/factor.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-01-31 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jan 31 18:31:59 UTC 2021

Modified Files:
src/usr.sbin/sysinst: msg.mi.de

Log Message:
sysinst: fix German translation, remove more trailing whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/usr.sbin/sysinst/msg.mi.de

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2021-01-31 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Sun Jan 31 18:22:12 UTC 2021

Modified Files:
src/usr.sbin/sysinst: msg.mi.de

Log Message:
sysinst: remove trailing whitespace in German translation


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/sysinst/msg.mi.de

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch/evbarm

2020-11-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Sat Nov 28 13:05:58 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/evbarm: md.c

Log Message:
Make sure the kernel set is selected, even if extracting parts of it
manually.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/sysinst/arch/evbarm/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-11-13 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Nov 13 17:39:06 UTC 2020

Modified Files:
src/usr.sbin/sysinst: Makefile.inc

Log Message:
Disable all entropy checks for now untill consensus has been found how
to properly deal with it.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/usr.sbin/sysinst/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-11-10 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Tue Nov 10 09:14:01 UTC 2020

Modified Files:
src/usr.sbin/sysinst: util.c

Log Message:
Fix typos in comment


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch/vax

2020-11-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Nov  6 19:47:31 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/vax: Makefile

Log Message:
Minimize the installer for crunched install media


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/vax/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-11-06 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Nov  6 12:23:10 UTC 2020

Modified Files:
src/usr.sbin/sysinst: msg.entropy.de msg.entropy.en msg.entropy.es
msg.entropy.fr msg.entropy.pl partitions.c partitions.h

Log Message:
Fix copy & pasted copyright comments.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/msg.entropy.de \
src/usr.sbin/sysinst/msg.entropy.en src/usr.sbin/sysinst/msg.entropy.es \
src/usr.sbin/sysinst/msg.entropy.fr src/usr.sbin/sysinst/msg.entropy.pl
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/sysinst/partitions.c
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/sysinst/partitions.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-11-05 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Nov  5 19:13:21 UTC 2020

Modified Files:
src/usr.sbin/sysinst: msg_xlat.sh

Log Message:
Print the program name in error messages.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/msg_xlat.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-11-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Nov  5 11:10:11 UTC 2020

Modified Files:
src/usr.sbin/sysinst: msg.mi.de msg.pm.en msg.pm.es msg.pm.fr msg.pm.pl

Log Message:
Remove an unused message (accidently placed inconsistently in
previous)


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/sysinst/msg.mi.de
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/msg.pm.en \
src/usr.sbin/sysinst/msg.pm.es src/usr.sbin/sysinst/msg.pm.fr \
src/usr.sbin/sysinst/msg.pm.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-11-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Nov  4 16:26:35 UTC 2020

Modified Files:
src/usr.sbin/sysinst: util.c

Log Message:
Avoid warnings


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-11-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Nov  4 14:29:40 UTC 2020

Modified Files:
src/usr.sbin/sysinst: Makefile.inc defs.h install.c menus.mi msg.mi.de
msg.mi.en msg.mi.es msg.mi.fr msg.mi.pl msg.pm.de msg.pm.en
msg.pm.es msg.pm.fr msg.pm.pl upgrade.c util.c
src/usr.sbin/sysinst/arch/atari: Makefile
src/usr.sbin/sysinst/arch/ews4800mips: Makefile
Added Files:
src/usr.sbin/sysinst: menus.entropy msg.entropy.de msg.entropy.en
msg.entropy.es msg.entropy.fr msg.entropy.pl

Log Message:
Add (experimental) entropy input support:
Early during new installs or after upgrades we check if entropy is
available. If not (no hardware random number generator available)
we inform the user and ask them to fix it.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/usr.sbin/sysinst/Makefile.inc
cvs rdiff -u -r1.68 -r1.69 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/sysinst/install.c
cvs rdiff -u -r0 -r1.1 src/usr.sbin/sysinst/menus.entropy \
src/usr.sbin/sysinst/msg.entropy.de src/usr.sbin/sysinst/msg.entropy.en \
src/usr.sbin/sysinst/msg.entropy.es src/usr.sbin/sysinst/msg.entropy.fr \
src/usr.sbin/sysinst/msg.entropy.pl
cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/sysinst/menus.mi
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/sysinst/msg.mi.de
cvs rdiff -u -r1.34 -r1.35 src/usr.sbin/sysinst/msg.mi.en \
src/usr.sbin/sysinst/msg.mi.pl
cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/sysinst/msg.mi.es
cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/sysinst/msg.mi.fr
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/msg.pm.de \
src/usr.sbin/sysinst/msg.pm.en src/usr.sbin/sysinst/msg.pm.es \
src/usr.sbin/sysinst/msg.pm.fr src/usr.sbin/sysinst/msg.pm.pl
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/sysinst/upgrade.c
cvs rdiff -u -r1.53 -r1.54 src/usr.sbin/sysinst/util.c
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/arch/atari/Makefile
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/arch/ews4800mips/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-30 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Oct 30 18:47:38 UTC 2020

Modified Files:
src/usr.sbin/sysinst: Makefile.inc defs.h util.c

Log Message:
PR 55769: avoid the module set if we do not build any


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/usr.sbin/sysinst/Makefile.inc
cvs rdiff -u -r1.67 -r1.68 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.52 -r1.53 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Oct 27 15:28:01 UTC 2020

Modified Files:
src/usr.sbin/sysinst: menus.mi msg.mi.de msg.mi.en msg.mi.es msg.mi.fr
msg.mi.pl util.c

Log Message:
When we did not magically find any CD medium with sets, offer a manual
override (so ISO images on USB sticks or Xen's xbd(4) work).


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/sysinst/menus.mi
cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/sysinst/msg.mi.de
cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/sysinst/msg.mi.en \
src/usr.sbin/sysinst/msg.mi.pl
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/sysinst/msg.mi.es
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/sysinst/msg.mi.fr
cvs rdiff -u -r1.51 -r1.52 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-26 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct 26 20:18:33 UTC 2020

Modified Files:
src/usr.sbin/sysinst: util.c

Log Message:
PR 55752: relax an assertion, the first getvfsstat() call may overestimate
the file systems visible to us.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-25 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Oct 25 08:50:32 UTC 2020

Modified Files:
src/usr.sbin/sysinst: util.c

Log Message:
Mark a variable only used in an assert as __diagused.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-24 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Oct 24 16:13:15 UTC 2020

Modified Files:
src/usr.sbin/sysinst: menus.mi msg.mi.de msg.mi.en msg.mi.es msg.mi.fr
msg.mi.pl util.c

Log Message:
When looking for available CD media, skip those that are already mounted.
When no medium with sets is found, show a new error message and return
to the source selection menu.
Rearrange all source option menus to have the proper set suffix
available (either .tgz or .tar.xz).


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/sysinst/menus.mi
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/sysinst/msg.mi.de
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/sysinst/msg.mi.en \
src/usr.sbin/sysinst/msg.mi.pl
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/sysinst/msg.mi.es
cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/sysinst/msg.mi.fr
cvs rdiff -u -r1.48 -r1.49 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch/i386

2020-10-23 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Oct 23 19:03:43 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/i386: md.c

Log Message:
Do not force bootselector MBR code for installs with only a single named
partition.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/sysinst/arch/i386/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-23 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Oct 23 19:02:58 UTC 2020

Modified Files:
src/usr.sbin/sysinst: mbr.c

Log Message:
Do not force alignment of the first partition by default (which is
treated special to skip the first track), unless an existing partition
table hints at it.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/usr.sbin/sysinst/mbr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch/evbarm

2020-10-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Oct 14 15:09:10 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/evbarm: md.c

Log Message:
Properly convert partition default sizes in MB to number of sectors


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/sysinst/arch/evbarm/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch/evbarm

2020-10-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Oct 14 14:37:59 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/evbarm: md.c

Log Message:
Move MBR writing (if any) post disklabel writing, otherwise strange
interactions happen.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/sysinst/arch/evbarm/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Oct 14 13:20:27 UTC 2020

Modified Files:
src/usr.sbin/sysinst: install.c

Log Message:
Remove dead code


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/sysinst/install.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch

2020-10-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Oct 14 08:49:04 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/ofppc: md.c
src/usr.sbin/sysinst/arch/zaurus: md.c

Log Message:
Fix copy & pasto (missing "again" label)


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/sysinst/arch/ofppc/md.c
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/sysinst/arch/zaurus/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-13 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Oct 14 04:17:43 UTC 2020

Modified Files:
src/usr.sbin/sysinst: gpt.c

Log Message:
Fix copy & pasto noticed by Jason Mitchell: change the type of a GPT
partition via "gpt type" - not "gpt label".


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/sysinst/gpt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-13 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Oct 13 17:26:28 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c defs.h disklabel.c disks.c gpt.c
label.c msg.mi.de msg.mi.en msg.mi.es msg.mi.fr msg.mi.pl
partitions.h util.c

Log Message:
PR 55142: on popular demand bring back expert options to adjust the
number of free inodes, block size and fragment size for FFS and LFS.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/usr.sbin/sysinst/bsddisklabel.c
cvs rdiff -u -r1.66 -r1.67 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.41 -r1.42 src/usr.sbin/sysinst/disklabel.c
cvs rdiff -u -r1.70 -r1.71 src/usr.sbin/sysinst/disks.c
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/sysinst/gpt.c
cvs rdiff -u -r1.29 -r1.30 src/usr.sbin/sysinst/label.c
cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/sysinst/msg.mi.de
cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/sysinst/msg.mi.en \
src/usr.sbin/sysinst/msg.mi.pl
cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/sysinst/msg.mi.es
cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/sysinst/msg.mi.fr
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/sysinst/partitions.h
cvs rdiff -u -r1.47 -r1.48 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-13 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Oct 13 11:28:32 UTC 2020

Modified Files:
src/usr.sbin/sysinst: label.c

Log Message:
When renumbering partitions (after deletions) be slightly more lax
in matching, to cope with differences between MBR EFI partitions and
disklabel MSDOS partitions.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/sysinst/label.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-13 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Oct 13 10:44:25 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c

Log Message:
Ooops, part of previous was not meant to be included yet


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/usr.sbin/sysinst/bsddisklabel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-13 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Oct 13 10:43:23 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c

Log Message:
Before forcing MBR partitions into our disklabel, make sure they are not
there yet - could happen in various paths when reusing existing partitions
(or parts of that) - previously we would blindly duplicate identical
partitions.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/usr.sbin/sysinst/bsddisklabel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct 12 16:27:24 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c part_edit.c

Log Message:
Minor fix to previous: fix condition when we offer the partition type
switch - it makes sense even if the disk is partitioned but has no valid
partitions.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/usr.sbin/sysinst/bsddisklabel.c
cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/sysinst/part_edit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct 12 16:14:37 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c defs.h disklabel.c gpt.c install.c
mbr.c mbr.h msg.mi.de msg.mi.en msg.mi.es msg.mi.fr msg.mi.pl
part_edit.c partitions.h
src/usr.sbin/sysinst/arch/acorn32: md.c
src/usr.sbin/sysinst/arch/alpha: md.c
src/usr.sbin/sysinst/arch/amiga: md.c
src/usr.sbin/sysinst/arch/arc: md.c
src/usr.sbin/sysinst/arch/atari: md.c
src/usr.sbin/sysinst/arch/bebox: md.c
src/usr.sbin/sysinst/arch/cats: md.c
src/usr.sbin/sysinst/arch/cobalt: md.c
src/usr.sbin/sysinst/arch/dummy: md.c
src/usr.sbin/sysinst/arch/emips: md.c
src/usr.sbin/sysinst/arch/evbarm: md.c
src/usr.sbin/sysinst/arch/evbmips: md.c
src/usr.sbin/sysinst/arch/evbppc: md.c
src/usr.sbin/sysinst/arch/evbsh3: md.c
src/usr.sbin/sysinst/arch/ews4800mips: md.c
src/usr.sbin/sysinst/arch/hp300: md.c
src/usr.sbin/sysinst/arch/hpcarm: md.c
src/usr.sbin/sysinst/arch/hpcmips: md.c
src/usr.sbin/sysinst/arch/hpcsh: md.c
src/usr.sbin/sysinst/arch/hppa: md.c
src/usr.sbin/sysinst/arch/i386: md.c
src/usr.sbin/sysinst/arch/landisk: md.c
src/usr.sbin/sysinst/arch/luna68k: md.c
src/usr.sbin/sysinst/arch/mac68k: md.c
src/usr.sbin/sysinst/arch/macppc: md.c
src/usr.sbin/sysinst/arch/mipsco: md.c
src/usr.sbin/sysinst/arch/mvme68k: md.c
src/usr.sbin/sysinst/arch/news68k: md.c
src/usr.sbin/sysinst/arch/newsmips: md.c
src/usr.sbin/sysinst/arch/ofppc: md.c
src/usr.sbin/sysinst/arch/playstation2: md.c
src/usr.sbin/sysinst/arch/pmax: md.c
src/usr.sbin/sysinst/arch/prep: md.c
src/usr.sbin/sysinst/arch/sandpoint: md.c
src/usr.sbin/sysinst/arch/sgimips: md.c
src/usr.sbin/sysinst/arch/shark: md.c
src/usr.sbin/sysinst/arch/sparc: md.c
src/usr.sbin/sysinst/arch/sparc64: md.c
src/usr.sbin/sysinst/arch/vax: md.c
src/usr.sbin/sysinst/arch/x68k: md.c
src/usr.sbin/sysinst/arch/zaurus: md.c

Log Message:
PR 55536: when we find existing partition tables and have alternative
formats available, offer to delete partitions and create new ones from
scratch (in some other or the same on-disk format).


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/usr.sbin/sysinst/bsddisklabel.c
cvs rdiff -u -r1.65 -r1.66 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.40 -r1.41 src/usr.sbin/sysinst/disklabel.c
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/sysinst/gpt.c
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/sysinst/install.c \
src/usr.sbin/sysinst/partitions.h
cvs rdiff -u -r1.35 -r1.36 src/usr.sbin/sysinst/mbr.c
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/sysinst/mbr.h
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/sysinst/msg.mi.de \
src/usr.sbin/sysinst/part_edit.c
cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/sysinst/msg.mi.en \
src/usr.sbin/sysinst/msg.mi.pl
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/sysinst/msg.mi.es
cvs rdiff -u -r1.29 -r1.30 src/usr.sbin/sysinst/msg.mi.fr
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/acorn32/md.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/sysinst/arch/alpha/md.c
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/sysinst/arch/amiga/md.c
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/sysinst/arch/arc/md.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/atari/md.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/sysinst/arch/bebox/md.c
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/arch/cats/md.c
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/sysinst/arch/cobalt/md.c
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/sysinst/arch/dummy/md.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/sysinst/arch/emips/md.c
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/sysinst/arch/evbarm/md.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/sysinst/arch/evbmips/md.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/sysinst/arch/evbppc/md.c
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/sysinst/arch/evbsh3/md.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/ews4800mips/md.c
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/sysinst/arch/hp300/md.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/sysinst/arch/hpcarm/md.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/sysinst/arch/hpcmips/md.c
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/sysinst/arch/hpcsh/md.c
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/sysinst/arch/hppa/md.c
cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/sysinst/arch/i386/md.c
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/sysinst/arch/landisk/md.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/sysinst/arch/luna68k/md.c
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/sysinst/arch/mac68k/md.c
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/sysinst/arch/macppc/md.c
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/sysinst/arch/mipsco/md.c
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/sysinst/arch/mvme68k/md.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/news68k/md.c
cvs rdiff -u -r1.

CVS commit: src/usr.sbin/sysinst

2020-10-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct 12 14:29:41 UTC 2020

Modified Files:
src/usr.sbin/sysinst: disks.c

Log Message:
Remove very strange code that special-cased MSDOS file systems and refused
to newfs the partition (despite explicit request to do so) if it was
mountable.
Accidently carried over from a dim and distant past, before we had
fsck_newfs.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/usr.sbin/sysinst/disks.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct 12 12:17:29 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c

Log Message:
Previously we abused pm->ptstart / pm->ptsize to pass the bounds of the
NetBSD outer partition to the inner partition editor - but now this is
not a valid assumption any more, so explicitly fix the bounds if an
outer partition exists.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/usr.sbin/sysinst/bsddisklabel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct 12 11:23:46 UTC 2020

Modified Files:
src/usr.sbin/sysinst: part_edit.c

Log Message:
Fix editing start and size of not yet existing outer partitions.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/sysinst/part_edit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Oct 10 19:42:19 UTC 2020

Modified Files:
src/usr.sbin/sysinst: label.c part_edit.c
src/usr.sbin/sysinst/arch/i386: md.c

Log Message:
Remove more pm->ptstart abuse - calculate values localy where needed
instead.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/sysinst/label.c
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/sysinst/part_edit.c
cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/sysinst/arch/i386/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Oct 10 18:48:32 UTC 2020

Modified Files:
src/usr.sbin/sysinst: part_edit.c

Log Message:
When creating new partitions for "full disk" use, pass a install target
hint to the partitioning backend (for the outer NetBSD partition).


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/sysinst/part_edit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Oct 10 18:49:27 UTC 2020

Modified Files:
src/usr.sbin/sysinst: mbr.c

Log Message:
Use an install target hint to mark a new partition active.
When compiled with BOOTSEL support, also name the new partition "NetBSD".


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/usr.sbin/sysinst/mbr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Oct  9 18:33:00 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c defs.h label.c part_edit.c

Log Message:
When MD code requests a reserved area (at the start of the disk)
make sure to properly account for the "lost" space during all calculations
and especially when expanding the main partition to fill the disk.

Avoid using the global "pm" or a passed device descriptons when we are
passing disk limits explicitly anyway.

Simplify/fix a few rounding calculations.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.sbin/sysinst/bsddisklabel.c
cvs rdiff -u -r1.64 -r1.65 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/sysinst/label.c
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/sysinst/part_edit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-05 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Oct  5 12:28:46 UTC 2020

Modified Files:
src/usr.sbin/sysinst: README.md_defs bsddisklabel.c
src/usr.sbin/sysinst/arch/amd64: md.h
src/usr.sbin/sysinst/arch/evbarm: md.h
src/usr.sbin/sysinst/arch/i386: md.h

Log Message:
Add a heuristic to detect and properly mark EFI system partitions
when re-using pre-existing partitions.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/sysinst/README.md_defs
cvs rdiff -u -r1.48 -r1.49 src/usr.sbin/sysinst/bsddisklabel.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/sysinst/arch/amd64/md.h
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/sysinst/arch/evbarm/md.h
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/sysinst/arch/i386/md.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Oct  4 19:05:47 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c

Log Message:
When merging existing partitions with desired target system layout
information, only force the "mount" flag if the existing partitions
has a valid mount point.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/usr.sbin/sysinst/bsddisklabel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Oct  4 16:09:13 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c

Log Message:
If we have no explicitly marke target root partition, make sure to set
the proper flag on the implicit one.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/usr.sbin/sysinst/bsddisklabel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-10-03 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Oct  3 18:54:18 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c disklabel.c gpt.c label.c mbr.c
part_edit.c partitions.h

Log Message:
PR 55384: detangle pm->ptstart from the "install" flag (selecting a
target partition). Instead introduce a new PTI_INSTALL_TARGET per partition
flag and deal with it in the partitioning backends.

Honour pm->ptstart when allocating new partitions - it is supposed to be
the first sector usable by NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/usr.sbin/sysinst/bsddisklabel.c
cvs rdiff -u -r1.39 -r1.40 src/usr.sbin/sysinst/disklabel.c
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/sysinst/gpt.c
cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/sysinst/label.c
cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/sysinst/mbr.c
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/sysinst/part_edit.c
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/sysinst/partitions.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-09-29 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep 29 15:29:17 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c disklabel.c mbr.c partitions.h

Log Message:
Apply patch provided by Izumi Tsutsui in PR 55382: make ext2 partitions
show up in the outer (MBR) partition table, needed for example on Cobalt
where firmware boots from that partition.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/usr.sbin/sysinst/bsddisklabel.c
cvs rdiff -u -r1.38 -r1.39 src/usr.sbin/sysinst/disklabel.c
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/sysinst/mbr.c
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/sysinst/partitions.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-09-29 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep 29 14:29:56 UTC 2020

Modified Files:
src/usr.sbin/sysinst: defs.h label.c part_edit.c

Log Message:
PR 55381: try to deal with moved (but not yet saved) partitions when
calculating free space


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/sysinst/label.c
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/sysinst/part_edit.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-09-28 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Sep 28 18:51:34 UTC 2020

Modified Files:
src/usr.sbin/sysinst: disks.c

Log Message:
PR 55379: avoid creating bogus /etc/fstab lines for /dev/cd* if no
cdrom is available.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/usr.sbin/sysinst/disks.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-09-28 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Sep 28 18:40:24 UTC 2020

Modified Files:
src/usr.sbin/sysinst: README.md_defs disklabel.c partitions.c

Log Message:
PR 55378: do not assume RAW_PART to be either 2 or 3


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/README.md_defs
cvs rdiff -u -r1.37 -r1.38 src/usr.sbin/sysinst/disklabel.c
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/sysinst/partitions.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-09-28 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Sep 28 18:13:25 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c

Log Message:
PR 55377: mark boot partitions in the partition size display, as suggested
by Izumi Tsutsui (minor modifications + all bugs by me)


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.sbin/sysinst/bsddisklabel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-09-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Sep 27 17:51:49 UTC 2020

Modified Files:
src/usr.sbin/sysinst: target.c

Log Message:
If there is no current partitioning manager assume we are editing the
current system and make target_already_root() return true.
Fixes various fallout when using sysinst post installation.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/sysinst/target.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-09-27 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Sep 27 17:36:40 UTC 2020

Modified Files:
src/usr.sbin/sysinst: msg.mi.fr util.c

Log Message:
Fix display of timezone selection menu


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/usr.sbin/sysinst/msg.mi.fr
cvs rdiff -u -r1.46 -r1.47 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-09-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep 22 16:18:54 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c defs.h install.c label.c util.c

Log Message:
Keep a list of all partition tables from which we have deleted partitions
and make sure we update those partition tables when writing partitions,
even if no install related partition remains on them.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.sbin/sysinst/bsddisklabel.c
cvs rdiff -u -r1.62 -r1.63 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/sysinst/install.c
cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/sysinst/label.c
cvs rdiff -u -r1.45 -r1.46 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-09-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep 22 15:16:49 UTC 2020

Modified Files:
src/usr.sbin/sysinst: disks.c

Log Message:
Typo in comment


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/usr.sbin/sysinst/disks.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-09-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep 22 12:21:11 UTC 2020

Modified Files:
src/usr.sbin/sysinst: label.c

Log Message:
In the concrete partitions editor, after deleting the last partition move
the menu selection to the "add a partition" entry (instead of the sentinel
line which is not an active menu entry).


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/sysinst/label.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-09-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Sep 22 11:44:44 UTC 2020

Modified Files:
src/usr.sbin/sysinst: label.c

Log Message:
When adding a new partition in the concrete partition editor, make sure
to set a pointer to the partition table interface in the new entry.
Otherwise we may end up not writing back the partitions at all, leading
to further fallout later.
Receipe to reproduce the issue from Frederic Fauberteau, thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/sysinst/label.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-08-14 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Fri Aug 14 08:46:54 UTC 2020

Modified Files:
src/usr.sbin/sysinst: label.c

Log Message:
PR 55572: avoid crash when answering the mount point prompt for a previously
empty mount point with an emptry sting.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/sysinst/label.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch/mac68k

2020-08-09 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 10 06:54:45 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/mac68k: Makefile

Log Message:
Silence -Wstringop-truncation for ``name'' in disp_selected_part().
This variable is used only for display, and truncation seems harmless.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/mac68k/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch/cobalt

2020-06-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Jun 10 16:56:22 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/cobalt: md.c

Log Message:
MBR type for Ext2 should be MBR_PTYPE_LNXEXT2, not MBR_PTYPE_FAT12.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/sysinst/arch/cobalt/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch/cobalt

2020-06-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Jun 10 16:26:33 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/cobalt: md.h

Log Message:
Change mountpoint of boot ext2fs from /stand to /ext2 to avoid conflict.

Should be pulled up to netbsd-9, with fixes of PR/55060.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/sysinst/arch/cobalt/md.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch/evbarm

2020-05-29 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Fri May 29 10:25:06 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/evbarm: md.c

Log Message:
DTB are no longer part of kernel set


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/sysinst/arch/evbarm/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch/evbarm

2020-05-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu May 28 19:03:09 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/evbarm: Makefile

Log Message:
Set HAVE_INSTALL_IMAGE for evbarm


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/arch/evbarm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch/evbarm

2020-05-28 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu May 28 19:00:52 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/evbarm: msg.md.en

Log Message:
Remove "If you booted from a floppy" message


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/arch/evbarm/msg.md.en

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-05-26 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Tue May 26 15:20:45 UTC 2020

Modified Files:
src/usr.sbin/sysinst: msg.mi.en msg.mi.es msg.mi.fr

Log Message:
it's "its"


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/usr.sbin/sysinst/msg.mi.en
cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/sysinst/msg.mi.es
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/sysinst/msg.mi.fr

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-05-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue May 12 17:26:43 UTC 2020

Modified Files:
src/usr.sbin/sysinst: defs.h disks.c main.c

Log Message:
PR 55202: disable swapping if we started it due to low ram


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.66 -r1.67 src/usr.sbin/sysinst/disks.c
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/sysinst/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-05-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue May 12 17:04:00 UTC 2020

Modified Files:
src/usr.sbin/sysinst: defs.h install.c util.c

Log Message:
Ooops, backout previous - twice the entropy saving is not needed.
Instead slightly improve the (slightly) hidden other code that already
did it.


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/sysinst/install.c
cvs rdiff -u -r1.43 -r1.44 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-05-12 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue May 12 16:18:04 UTC 2020

Modified Files:
src/usr.sbin/sysinst: defs.h install.c util.c

Log Message:
At the end of a new installation save entropy.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/sysinst/install.c
cvs rdiff -u -r1.42 -r1.43 src/usr.sbin/sysinst/util.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-05-11 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue May 12 06:23:07 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c

Log Message:
Minor tweak to previous: when forcing a /usr partition just to have an
arbitrary extendable partition, still use its default size initially.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/usr.sbin/sysinst/bsddisklabel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-05-11 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon May 11 17:40:50 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c

Log Message:
When extending a partition (to fill the total disk size) do respect
size limits.
Do not suggest a size limited partition for extension by default.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/usr.sbin/sysinst/bsddisklabel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-05-11 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon May 11 15:27:41 UTC 2020

Modified Files:
src/usr.sbin/sysinst: bsddisklabel.c

Log Message:
Redo the root-size-limit check again after we grew the root partition
for kernel dumps. Auto-enable the /usr partition if it overflows.
For all non-root partitions, default to FFSv2.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/usr.sbin/sysinst/bsddisklabel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch/evbarm

2020-05-04 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon May  4 18:19:34 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/evbarm: md.h

Log Message:
boardype should not be common.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/sysinst/arch/evbarm/md.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-04-22 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Apr 22 23:43:12 UTC 2020

Modified Files:
src/usr.sbin/sysinst: defs.h main.c mbr.c mbr.h

Log Message:
Don't depend on common symbol definitions.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/sysinst/main.c
cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/sysinst/mbr.c
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/sysinst/mbr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-03-30 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Mar 30 12:19:28 UTC 2020

Modified Files:
src/usr.sbin/sysinst: gpt.c

Log Message:
Ooops, fix previous (PT_* enum values here are not DKW_PTYPE_* values)


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/sysinst/gpt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-03-30 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Mar 30 10:42:49 UTC 2020

Modified Files:
src/usr.sbin/sysinst: gpt.c

Log Message:
Support partition type ZFS


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/sysinst/gpt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-03-15 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Mar 16 06:48:18 UTC 2020

Modified Files:
src/usr.sbin/sysinst: defs.h

Log Message:
PR misc/54886: bump threshold for automatic/default creation of a tmpfs /tmp
up slightly (to 384 MB ram). This will make sure the default install has
a > 64 MB /tmp available (number pulled out of thin air, 64 MB is the minimum
required by the ZFS tests).


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/usr.sbin/sysinst/defs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst/arch/alpha

2020-03-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Mar  9 17:10:31 UTC 2020

Modified Files:
src/usr.sbin/sysinst/arch/alpha: md.c

Log Message:
The (unused) md_pre_disklabel() function needs to return success, otherwise
all installations will be aborted.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/sysinst/arch/alpha/md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-03-06 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Fri Mar  6 20:07:26 UTC 2020

Modified Files:
src/usr.sbin/sysinst: sysinst.8

Log Message:
Remove note that has been incorrect for a while.

Thanks ottavio for the heads up.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/sysinst/sysinst.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-03-04 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Mar  4 11:15:06 UTC 2020

Modified Files:
src/usr.sbin/sysinst: main.c

Log Message:
PR 55045: strlcpy(NULL, ..., 0) considered harmfull in some implementations.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/sysinst/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-02-19 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Feb 19 21:51:21 UTC 2020

Modified Files:
src/usr.sbin/sysinst: defs.h main.c sysinst.8

Log Message:
Remove unused "rel" global variable and make the -r option a no-op.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 src/usr.sbin/sysinst/defs.h
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/sysinst/main.c
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/sysinst/sysinst.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-02-19 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Feb 19 21:49:48 UTC 2020

Modified Files:
src/usr.sbin/sysinst: Makefile.inc

Log Message:
Do not force -Os optimization (unless SMALLPROG)


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/sysinst/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-02-19 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Feb 19 21:45:10 UTC 2020

Modified Files:
src/usr.sbin/sysinst: Makefile.inc disklabel.c

Log Message:
Rever previous: the d_packname in struct disklabel is not NUL terminated.
Disable the warning instead.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/sysinst/Makefile.inc
cvs rdiff -u -r1.36 -r1.37 src/usr.sbin/sysinst/disklabel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/sysinst

2020-02-19 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Feb 19 18:08:03 UTC 2020

Modified Files:
src/usr.sbin/sysinst: disklabel.c disks.c main.c target.c

Log Message:
Use strlcpy in a few places to guarnatee 0-terminated strings


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/usr.sbin/sysinst/disklabel.c
cvs rdiff -u -r1.65 -r1.66 src/usr.sbin/sysinst/disks.c
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/sysinst/main.c
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/sysinst/target.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



  1   2   3   4   >