The NetBSD Project

CVS log for src/usr.sbin/sysinst/msg.mi.de

[BACK] Up to [cvs.NetBSD.org] / src / usr.sbin / sysinst

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.13.2.11: download - view: text, markup, annotated - select for diffs
Wed Jul 3 17:28:34 2024 UTC (5 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.13.2.10: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.10: +2 -2 lines
Pull up following revision(s) (requested by nia in ticket #1853):

	usr.sbin/sysinst/msg.mi.de: revision 1.49
	usr.sbin/sysinst/msg.mi.de: revision 1.50
	usr.sbin/sysinst/msg.mi.en: revision 1.52

sysinst(8): Note that leaving the network "media type" empty autoconfigures
sysinst: fix umlaut in German translation

Revision 1.43.2.3: download - view: text, markup, annotated - select for diffs
Wed Jul 3 17:27:11 2024 UTC (5 months ago) by martin
Branches: netbsd-10
Diff to: previous 1.43.2.2: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.2: +2 -2 lines
Pull up following revision(s) (requested by nia in ticket #731):

	usr.sbin/sysinst/msg.mi.de: revision 1.49
	usr.sbin/sysinst/msg.mi.de: revision 1.50
	usr.sbin/sysinst/msg.mi.en: revision 1.52

sysinst(8): Note that leaving the network "media type" empty autoconfigures
sysinst: fix umlaut in German translation

Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Jun 20 19:00:35 2024 UTC (5 months, 2 weeks ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2 lines
sysinst: fix umlaut in German translation

Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu Jun 20 05:46:22 2024 UTC (5 months, 2 weeks ago) by nia
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
sysinst(8): Note that leaving the network "media type" empty autoconfigures

Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Apr 25 11:25:08 2024 UTC (7 months, 1 week ago) by hannken
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
Increase length of set description to 40 characters so recent additions fit.

Ok: martin@

Fixes PR install/58188 "sysinst fails to display status of base32 set"

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Apr 22 14:41:26 2024 UTC (7 months, 1 week ago) by nia
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +7 -1 lines
Move MIPS N64 compat out of {base,debug}32 into {base,debug}64

martin requested separation by ABI and it doesn't make much sense
to have 64-bit binaries in a set called 32.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Tue Apr 9 15:17:24 2024 UTC (7 months, 3 weeks ago) by nia
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +10 -1 lines
Add new sets: base32, debug32, manhtml

- base32 contains (when MKCOMPAT=yes) shared libraries for 32-bit
  compatibility, previously included in base

- debug32 contains (when MKCOMPAT=yes) debug symbols and static libraries
  containing debug symbols for 32-bit compatiblity, previously included
  in debug

- manhtml contains (when MKHTML=yes) the HTML files previously included
  in 'man', which are of limited utility without third-party software.

The motivation for this change is to be able to easily exclude sets
from CD-ROM images that go over the size limit without xz compression
(which many NetBSD platforms struggle to extract at acceptable speeds).

Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Thu Nov 2 14:12:03 2023 UTC (13 months ago) by sborrill
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Diff to: previous 1.43.2.1: preferred, colored; branchpoint 1.43: preferred, colored
Changes since revision 1.43.2.1: +2 -2 lines
Pull up the following revisions(s) (requested by martin in ticket #443):
	usr.sbin/sysinst/msg.mi.de:	revision 1.45

Shorten the Use_Different_Part_Scheme message - the old version could
overflow a 80 wide char display with some partitioning schemes (e.g.
disklabel).

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 2 14:08:17 2023 UTC (13 months ago) by sborrill
Branches: netbsd-10
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2 lines
Pull up the following revisions(s) (requested by martin in ticket #442):
	usr.sbin/sysinst/label.c:	revision 1.49
	usr.sbin/sysinst/msg.mi.de:	revision 1.44
	usr.sbin/sysinst/msg.mi.en:	revision 1.47
	usr.sbin/sysinst/msg.mi.es:	revision 1.40
	usr.sbin/sysinst/msg.mi.fr:	revision 1.45
	usr.sbin/sysinst/msg.mi.pl:	revision 1.46

Switch to "-" (single minus) as input denotation for "no mount point"
in all translations and adjust the code accordingly.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Oct 31 14:05:11 2023 UTC (13 months ago) by martin
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -1 lines
Shorten the Use_Different_Part_Scheme message - the old version could
overflow a 80 wide char display with some partitioning schemes (e.g.
disklabel).

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Oct 31 14:03:33 2023 UTC (13 months ago) by martin
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2 lines
Switch to "-" (single minus) as input denotation for "no mount point"
in all translations and adjust the code accordingly.
Pointed out by Thierry Laronde.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Dec 15 15:32:04 2022 UTC (23 months, 3 weeks ago) by martin
Branches: MAIN
CVS tags: netbsd-10-base
Branch point for: netbsd-10
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +7 -1 lines
Add an (expert) option to manually edit partitions, inspired by PR 57100.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Nov 30 15:53:35 2022 UTC (2 years ago) by martin
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -1 lines
Add support for FFSv2ea in the partition type menus (internally setting
fs version to 3 for this, where 2 is FFSv2 and 1 is FFSv1)

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Jul 22 16:51:14 2022 UTC (2 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -1 lines
Add a menu option to set the file extension of the downloaded sets.
amd64 sets are .tar.xz and sysinst fails by default.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Jun 11 18:30:02 2022 UTC (2 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -1 lines
Slightly improved error handling when converion from one partition table
format to another is not lossless.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Jun 9 18:26:06 2022 UTC (2 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1 lines
Add support for explicitly selecting "EFI system partition" as a partition
type.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed May 18 16:39:03 2022 UTC (2 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -1 lines
When not invoked via some explicit "configure network" menu item,
auto-detect an already working network setup and offer to "just use" it
whenver we need connectivity.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon May 16 18:44:38 2022 UTC (2 years, 6 months ago) by martin
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -1 lines
Split the available disks (that may be partitioned) from the
preconfigured wedges (that can be install target, but can not be
partitioned). The latter are only usefull in special setups
and clobber the list of available disks for the usual setup cases.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Apr 21 17:30:15 2022 UTC (2 years, 7 months ago) by martin
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +8 -1 lines
Make default installations a bit more secure:
 - push a bit harder for setup of a root password
 - simplify/clarify manual entropy setup
 - visit the entropy setup (on machines where it is needed) on the
   default path through sysinst

Revision 1.13.2.10: download - view: text, markup, annotated - select for diffs
Thu Jan 20 11:45:28 2022 UTC (2 years, 10 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE
Diff to: previous 1.13.2.9: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.9: +7 -1 lines
Pull up following revision(s) (requested by nia in ticket #1406):

	usr.sbin/sysinst/net.c: revision 1.40
	usr.sbin/sysinst/msg.mi.pl: revision 1.37
	usr.sbin/sysinst/msg.mi.fr: revision 1.36
	usr.sbin/sysinst/msg.mi.de: revision 1.35
	usr.sbin/sysinst/msg.mi.en: revision 1.37
	usr.sbin/sysinst/net.c: revision 1.37
	usr.sbin/sysinst/net.c: revision 1.38
	usr.sbin/sysinst/msg.mi.es: revision 1.31
	usr.sbin/sysinst/net.c: revision 1.39

sysinst(8): Add initial support for connecting to Wi-Fi networks
by spawning wpa_supplicant.
Reviewed by martin.

sysinst(8): Avoid asking Wi-Fi questions about non-Wi-Fi devices.

sysinst(8): Add a "data" argument to do_ifreq that is set after the
ifr struct is zeroed.

This allows us to simplify the code by not having 2x socket creation
code for checking whether interfaces are wireless.
sysinst(8): use scan_ssid=1 so hidden wifi networks can be used

Revision 1.35: download - view: text, markup, annotated - select for diffs
Mon Jan 10 12:17:48 2022 UTC (2 years, 10 months ago) by nia
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +7 -1 lines
sysinst(8): Add initial support for connecting to Wi-Fi networks
by spawning wpa_supplicant.

Reviewed by martin.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Sep 25 08:54:31 2021 UTC (3 years, 2 months ago) by maya
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -1 lines
Move DRM-driver firmware from base to its own set, gpufw

This set is only installed on amd64,i386,evbarm.
This set is installed on minimal installs and on install media, in
case someone needs it for basic driver functionality.

Comments:
Switched to a single MK tunable for it - that is probably unneeded.

An upcoming DRM update will include even fatter firmware, and we'd
like to minimize the impact of it.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Jan 31 22:19:24 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3 lines
sysinst: fix some more typos in the German translation

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Jan 31 21:28:16 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +23 -21 lines
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.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Jan 31 21:00:43 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +85 -85 lines
sysinst: proofread German translation

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

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Jan 31 18:31:59 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +9 -9 lines
sysinst: fix German translation, remove more trailing whitespace

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Jan 31 18:22:11 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +60 -60 lines
sysinst: remove trailing whitespace in German translation

Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Nov 5 11:10:11 2020 UTC (4 years, 1 month ago) by martin
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -2 lines
Remove an unused message (accidently placed inconsistently in
previous)

Revision 1.13.2.9: download - view: text, markup, annotated - select for diffs
Thu Nov 5 08:10:21 2020 UTC (4 years, 1 month ago) by sborrill
Branches: netbsd-9
CVS tags: netbsd-9-2-RELEASE
Diff to: previous 1.13.2.8: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.8: +34 -6 lines
Pull up the following revisions(s) (requested by martin in ticket #1121):
	usr.sbin/sysinst/menus.mi:	revision 1.22-1.23
	usr.sbin/sysinst/msg.mi.de:	revision 1.25-1.26
	usr.sbin/sysinst/msg.mi.en:	revision 1.33-1.34
	usr.sbin/sysinst/msg.mi.pl:	revision 1.33-1.34
	usr.sbin/sysinst/msg.mi.es:	revision 1.27-1.28
	usr.sbin/sysinst/msg.mi.fr:	revision 1.32-1.33
	usr.sbin/sysinst/util.c:	revision 1.49-1.52

- 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).
- Relax an assertion, the first getvfsstat() call may overestimate the file
  systems visible to us. Fixes PR 55752
- 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).

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Nov 4 14:29:40 2020 UTC (4 years, 1 month ago) by martin
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -12 lines
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.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue Oct 27 15:28:01 2020 UTC (4 years, 1 month ago) by martin
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +11 -2 lines
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).

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Oct 24 16:13:15 2020 UTC (4 years, 1 month ago) by martin
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +25 -6 lines
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).

Revision 1.13.2.8: download - view: text, markup, annotated - select for diffs
Thu Oct 15 19:36:50 2020 UTC (4 years, 1 month ago) by bouyer
Branches: netbsd-9
CVS tags: netbsd-9-1-RELEASE
Diff to: previous 1.13.2.7: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.7: +32 -14 lines
Pull up following revision(s) (requested by martin in ticket #1113):
	usr.sbin/sysinst/bsddisklabel.c: revision 1.46
	usr.sbin/sysinst/bsddisklabel.c: revision 1.47
	usr.sbin/sysinst/disklabel.c: revision 1.40
	usr.sbin/sysinst/arch/cobalt/md.c: revision 1.13
	usr.sbin/sysinst/bsddisklabel.c: revision 1.48
	usr.sbin/sysinst/disklabel.c: revision 1.41
	usr.sbin/sysinst/arch/cobalt/md.c: revision 1.14
	usr.sbin/sysinst/bsddisklabel.c: revision 1.49
	usr.sbin/sysinst/disklabel.c: revision 1.42
	usr.sbin/sysinst/Makefile.inc: revision 1.34
	usr.sbin/sysinst/disks.c: revision 1.70
	usr.sbin/sysinst/arch/hp300/md.c: revision 1.11
	usr.sbin/sysinst/disks.c: revision 1.71
	usr.sbin/sysinst/arch/i386/md.h: revision 1.8
	usr.sbin/sysinst/arch/arc/md.c: revision 1.13
	usr.sbin/sysinst/mbr.h: revision 1.5
	usr.sbin/sysinst/mbr.h: revision 1.6
	usr.sbin/sysinst/arch/mac68k/md.c: revision 1.10
	usr.sbin/sysinst/bsddisklabel.c: revision 1.50
	usr.sbin/sysinst/arch/acorn32/md.c: revision 1.7
	usr.sbin/sysinst/bsddisklabel.c: revision 1.51
	usr.sbin/sysinst/bsddisklabel.c: revision 1.52
	usr.sbin/sysinst/bsddisklabel.c: revision 1.53
	usr.sbin/sysinst/bsddisklabel.c: revision 1.54
	usr.sbin/sysinst/bsddisklabel.c: revision 1.55
	usr.sbin/sysinst/bsddisklabel.c: revision 1.56
	usr.sbin/sysinst/arch/dummy/md.c: revision 1.6
	usr.sbin/sysinst/arch/amd64/md.h: revision 1.9
	usr.sbin/sysinst/arch/evbsh3/md.c: revision 1.6
	usr.sbin/sysinst/arch/sparc/md.c: revision 1.6
	usr.sbin/sysinst/arch/zaurus/md.c: revision 1.10
	usr.sbin/sysinst/arch/x68k/md.c: revision 1.11
	usr.sbin/sysinst/arch/sandpoint/md.c: revision 1.9
	usr.sbin/sysinst/arch/vax/md.c: revision 1.7
	usr.sbin/sysinst/arch/luna68k/md.c: revision 1.9
	usr.sbin/sysinst/gpt.c: revision 1.19
	usr.sbin/sysinst/arch/i386/md.c: revision 1.31
	usr.sbin/sysinst/arch/i386/md.c: revision 1.32
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.17
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.18
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.19
	usr.sbin/sysinst/arch/shark/md.c: revision 1.6
	usr.sbin/sysinst/arch/landisk/md.c: revision 1.14
	usr.sbin/sysinst/util.c: revision 1.43
	usr.sbin/sysinst/gpt.c: revision 1.20
	usr.sbin/sysinst/util.c: revision 1.44
	usr.sbin/sysinst/gpt.c: revision 1.21
	usr.sbin/sysinst/gpt.c: revision 1.22
	usr.sbin/sysinst/arch/evbarm/msg.md.en: revision 1.2
	usr.sbin/sysinst/arch/ofppc/md.c: revision 1.11
	usr.sbin/sysinst/util.c: revision 1.46
	usr.sbin/sysinst/arch/ofppc/md.c: revision 1.12
	usr.sbin/sysinst/util.c: revision 1.47
	usr.sbin/sysinst/arch/evbarm/md.h: revision 1.6
	usr.sbin/sysinst/util.c: revision 1.48
	usr.sbin/sysinst/arch/evbarm/md.h: revision 1.7
	usr.sbin/sysinst/arch/evbmips/md.c: revision 1.9
	usr.sbin/sysinst/msg.mi.fr: revision 1.28
	usr.sbin/sysinst/msg.mi.fr: revision 1.29
	usr.sbin/sysinst/arch/sgimips/md.c: revision 1.9
	usr.sbin/sysinst/arch/evbarm/Makefile: revision 1.3
	usr.sbin/sysinst/msg.mi.de: revision 1.23
	usr.sbin/sysinst/arch/hpcsh/md.c: revision 1.10
	usr.sbin/sysinst/msg.mi.de: revision 1.24
	usr.sbin/sysinst/install.c: revision 1.15
	usr.sbin/sysinst/install.c: revision 1.16
	usr.sbin/sysinst/arch/sparc64/md.c: revision 1.6
	usr.sbin/sysinst/install.c: revision 1.17
	usr.sbin/sysinst/install.c: revision 1.18
	usr.sbin/sysinst/partitions.h: revision 1.16
	usr.sbin/sysinst/install.c: revision 1.19
	usr.sbin/sysinst/partitions.h: revision 1.17
	usr.sbin/sysinst/arch/evbppc/md.c: revision 1.9
	usr.sbin/sysinst/arch/playstation2/md.c: revision 1.9
	usr.sbin/sysinst/partitions.h: revision 1.18
	usr.sbin/sysinst/arch/hpcarm/md.c: revision 1.9
	usr.sbin/sysinst/partitions.h: revision 1.19
	usr.sbin/sysinst/msg.mi.es: revision 1.24
	usr.sbin/sysinst/msg.mi.es: revision 1.25
	usr.sbin/sysinst/msg.mi.es: revision 1.26
	usr.sbin/sysinst/arch/zaurus/md.c: revision 1.9
	usr.sbin/sysinst/target.c: revision 1.13
	usr.sbin/sysinst/target.c: revision 1.14
	usr.sbin/sysinst/part_edit.c: revision 1.17
	usr.sbin/sysinst/part_edit.c: revision 1.18
	usr.sbin/sysinst/msg.mi.fr: revision 1.30
	usr.sbin/sysinst/arch/mvme68k/md.c: revision 1.11
	usr.sbin/sysinst/part_edit.c: revision 1.19
	usr.sbin/sysinst/msg.mi.fr: revision 1.31
	usr.sbin/sysinst/arch/alpha/md.c: revision 1.9
	usr.sbin/sysinst/msg.mi.en: revision 1.30
	usr.sbin/sysinst/defs.h: revision 1.56
	usr.sbin/sysinst/msg.mi.en: revision 1.31
	usr.sbin/sysinst/defs.h: revision 1.57
	usr.sbin/sysinst/msg.mi.en: revision 1.32
	usr.sbin/sysinst/arch/amiga/md.c: revision 1.6
	usr.sbin/sysinst/arch/hpcmips/md.c: revision 1.9
	usr.sbin/sysinst/defs.h: revision 1.58
	usr.sbin/sysinst/arch/cats/md.c: revision 1.5
	usr.sbin/sysinst/defs.h: revision 1.59
	usr.sbin/sysinst/arch/newsmips/md.c: revision 1.6
	usr.sbin/sysinst/arch/pmax/md.c: revision 1.8
	usr.sbin/sysinst/arch/mipsco/md.c: revision 1.8
	usr.sbin/sysinst/part_edit.c: revision 1.20
	usr.sbin/sysinst/part_edit.c: revision 1.21
	usr.sbin/sysinst/arch/macppc/md.c: revision 1.6
	usr.sbin/sysinst/part_edit.c: revision 1.22
	usr.sbin/sysinst/part_edit.c: revision 1.23
	usr.sbin/sysinst/part_edit.c: revision 1.24
	usr.sbin/sysinst/defs.h: revision 1.60
	usr.sbin/sysinst/arch/mac68k/Makefile: revision 1.3
	usr.sbin/sysinst/defs.h: revision 1.61
	usr.sbin/sysinst/defs.h: revision 1.63
	usr.sbin/sysinst/defs.h: revision 1.64
	usr.sbin/sysinst/defs.h: revision 1.65
	usr.sbin/sysinst/label.c: revision 1.21
	usr.sbin/sysinst/defs.h: revision 1.66
	usr.sbin/sysinst/label.c: revision 1.22
	usr.sbin/sysinst/defs.h: revision 1.67
	usr.sbin/sysinst/label.c: revision 1.23
	usr.sbin/sysinst/label.c: revision 1.24
	usr.sbin/sysinst/label.c: revision 1.25
	usr.sbin/sysinst/label.c: revision 1.26
	usr.sbin/sysinst/label.c: revision 1.27
	usr.sbin/sysinst/msg.mi.pl: revision 1.31
	usr.sbin/sysinst/label.c: revision 1.28
	usr.sbin/sysinst/msg.mi.pl: revision 1.32
	usr.sbin/sysinst/label.c: revision 1.29
	usr.sbin/sysinst/arch/atari/md.c: revision 1.7
	usr.sbin/sysinst/disklabel.c: revision 1.36
	usr.sbin/sysinst/disklabel.c: revision 1.37
	usr.sbin/sysinst/disklabel.c: revision 1.38
	usr.sbin/sysinst/disklabel.c: revision 1.39
	usr.sbin/sysinst/arch/bebox/md.c: revision 1.9
	usr.sbin/sysinst/mbr.c: revision 1.32
	usr.sbin/sysinst/disks.c: revision 1.66
	usr.sbin/sysinst/mbr.c: revision 1.33
	usr.sbin/sysinst/disks.c: revision 1.67
	usr.sbin/sysinst/mbr.c: revision 1.34
	usr.sbin/sysinst/arch/emips/md.c: revision 1.9
	usr.sbin/sysinst/disks.c: revision 1.68
	usr.sbin/sysinst/partitions.c: revision 1.11
	usr.sbin/sysinst/mbr.c: revision 1.35
	usr.sbin/sysinst/disks.c: revision 1.69
	usr.sbin/sysinst/mbr.c: revision 1.36
	usr.sbin/sysinst/arch/hppa/md.c: revision 1.8
	usr.sbin/sysinst/arch/prep/md.c: revision 1.13
	usr.sbin/sysinst/label.c: revision 1.30
	usr.sbin/sysinst/arch/ews4800mips/md.c: revision 1.7
	usr.sbin/sysinst/main.c: revision 1.21
	usr.sbin/sysinst/main.c: revision 1.22
	usr.sbin/sysinst/main.c: revision 1.23
	usr.sbin/sysinst/bsddisklabel.c: revision 1.40
	usr.sbin/sysinst/main.c: revision 1.24
	usr.sbin/sysinst/arch/cobalt/md.h: revision 1.6
	usr.sbin/sysinst/bsddisklabel.c: revision 1.41
	usr.sbin/sysinst/main.c: revision 1.25
	usr.sbin/sysinst/arch/news68k/md.c: revision 1.7
	usr.sbin/sysinst/bsddisklabel.c: revision 1.42
	usr.sbin/sysinst/bsddisklabel.c: revision 1.43
	usr.sbin/sysinst/bsddisklabel.c: revision 1.44
	usr.sbin/sysinst/bsddisklabel.c: revision 1.45
Use strlcpy in a few places to guarnatee 0-terminated strings
Rever previous: the d_packname in struct disklabel is not NUL terminated.
Disable the warning instead.
Do not force -Os optimization (unless SMALLPROG)
Remove unused "rel" global variable and make the -r option a no-op.
PR 55045: strlcpy(NULL, ..., 0) considered harmfull in some implementations.
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).
Don't depend on common symbol definitions.
boardype should not be common.
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.
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.
Minor tweak to previous: when forcing a /usr partition just to have an
arbitrary extendable partition, still use its default size initially.
At the end of a new installation save entropy.
Ooops, backout previous - twice the entropy saving is not needed.
Instead slightly improve the (slightly) hidden other code that already
did it.
PR 55202: disable swapping if we started it due to low ram
it's "its"
Remove "If you booted from a floppy" message
Set HAVE_INSTALL_IMAGE for evbarm
Change mountpoint of boot ext2fs from /stand to /ext2 to avoid conflict.
Should be pulled up to netbsd-9, with fixes of PR/55060.
MBR type for Ext2 should be MBR_PTYPE_LNXEXT2, not MBR_PTYPE_FAT12.
Silence -Wstringop-truncation for ``name'' in disp_selected_part().
This variable is used only for display, and truncation seems harmless.
PR 55572: avoid crash when answering the mount point prompt for a previously
empty mount point with an emptry sting.
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!
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).
Typo in comment
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.
Fix display of timezone selection menu
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.
PR 55377: mark boot partitions in the partition size display, as suggested
by Izumi Tsutsui (minor modifications + all bugs by me)
PR 55378: do not assume RAW_PART to be either 2 or 3
PR 55379: avoid creating bogus /etc/fstab lines for /dev/cd* if no
cdrom is available.
PR 55381: try to deal with moved (but not yet saved) partitions when
calculating free space
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.
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.
If we have no explicitly marke target root partition, make sure to set
the proper flag on the implicit one.
When merging existing partitions with desired target system layout
information, only force the "mount" flag if the existing partitions
has a valid mount point.
Add a heuristic to detect and properly mark EFI system partitions
when re-using pre-existing partitions.
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.
When creating new partitions for "full disk" use, pass a install target
hint to the partitioning backend (for the outer NetBSD partition).
Use an install target hint to mark a new partition active.
When compiled with BOOTSEL support, also name the new partition "NetBSD".
Remove more pm->ptstart abuse - calculate values localy where needed
instead.
Fix editing start and size of not yet existing outer partitions.
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.
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.
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).
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.
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.
Ooops, part of previous was not meant to be included yet
When renumbering partitions (after deletions) be slightly more lax
in matching, to cope with differences between MBR EFI partitions and
disklabel MSDOS partitions.
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.
Fix copy & pasto noticed by Jason Mitchell: change the type of a GPT
partition via "gpt type" - not "gpt label".
Fix copy & pasto (missing "again" label)
Remove dead code
Move MBR writing (if any) post disklabel writing, otherwise strange
interactions happen.
Properly convert partition default sizes in MB to number of sectors

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue Oct 13 17:26:28 2020 UTC (4 years, 1 month ago) by martin
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +25 -14 lines
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.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Oct 12 16:14:32 2020 UTC (4 years, 1 month ago) by martin
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +8 -1 lines
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).

Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon May 18 21:19:36 2020 UTC (4 years, 6 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -1 lines
Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:06:00 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.1: +480 -255 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.13.2.7: download - view: text, markup, annotated - select for diffs
Mon Feb 10 21:39:37 2020 UTC (4 years, 9 months ago) by bouyer
Branches: netbsd-9
CVS tags: netbsd-9-0-RELEASE
Diff to: previous 1.13.2.6: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.6: +2 -2 lines
Pull up following revision(s) (requested by martin in ticket #693):
	usr.sbin/sysinst/arch/x68k/msg.md.en: revision 1.2
	usr.sbin/sysinst/arch/x68k/md.c: revision 1.10
	usr.sbin/sysinst/arch/mvme68k/msg.md.fr: revision 1.2
	usr.sbin/sysinst/arch/x68k/msg.md.en: revision 1.3
	usr.sbin/sysinst/arch/mvme68k/msg.md.fr: revision 1.3
	usr.sbin/sysinst/msg.mi.en: revision 1.28
	usr.sbin/sysinst/arch/hp300/md.c: revision 1.10
	usr.sbin/sysinst/msg.mi.es: revision 1.22
	usr.sbin/sysinst/target.c: revision 1.12
	usr.sbin/sysinst/arch/mvme68k/md.c: revision 1.10
	usr.sbin/sysinst/arch/i386/md.c: revision 1.30
	usr.sbin/sysinst/arch/mvme68k/msg.md.pl: revision 1.2
	usr.sbin/sysinst/arch/mvme68k/msg.md.pl: revision 1.3
	usr.sbin/sysinst/bsddisklabel.c: revision 1.39
	usr.sbin/sysinst/arch/mvme68k/msg.md.de: revision 1.2
	usr.sbin/sysinst/arch/mac68k/md.c: revision 1.9
	usr.sbin/sysinst/disklabel.c: revision 1.35
	usr.sbin/sysinst/arch/mvme68k/msg.md.de: revision 1.3
	usr.sbin/sysinst/defs.h: revision 1.55
	usr.sbin/sysinst/disks.c: revision 1.63
	usr.sbin/sysinst/disks.c: revision 1.64
	usr.sbin/sysinst/mbr.c: revision 1.31
	usr.sbin/sysinst/disks.c: revision 1.65
	usr.sbin/sysinst/txtwalk.c: revision 1.3
	usr.sbin/sysinst/txtwalk.c: revision 1.4
	usr.sbin/sysinst/arch/mvme68k/msg.md.en: revision 1.2
	usr.sbin/sysinst/arch/mvme68k/msg.md.en: revision 1.3
	usr.sbin/sysinst/msg.mi.fr: revision 1.26
	usr.sbin/sysinst/msg.mi.pl: revision 1.29
	usr.sbin/sysinst/arch/mvme68k/msg.md.es: revision 1.2
	usr.sbin/sysinst/upgrade.c: revision 1.15
	usr.sbin/sysinst/arch/mvme68k/msg.md.es: revision 1.3
	usr.sbin/sysinst/upgrade.c: revision 1.16
	usr.sbin/sysinst/partman.c: revision 1.50
	usr.sbin/sysinst/msg.mi.de: revision 1.21
remove unused "emptypart" message (or moved to ifdef notyet area)
PR install/54921: message "ordering" takes a %s argument.
PR install/54921: skip non-user partitions when checking for overlaps
bootxx_name() - fix oversight in previous change (do not assume first
partition is the root partition)
PR install/54934: always use -f on the installboot invocation. We come
here post-newfs (and maybe should have dd'd zeros to the start of the
disk before newfs instead).
Remove a bogus assert: when reading disklabel partitions and the outer
(MBR) partitioning has changed, but the changes have not yet been written
back to disk, we need to ignore the kernels idea of the disklabel and
instead continue with an empty one.
Deal with partitioning schemes having no inner counterpart.
Avoid NULL derefs.
Do not assum a partitioning scheme that supports innner partitions always
needs to actually have such partitions defined.
PR bin/54944: deal with escaped spaces in NAME= syntax in /etc/fstab.
PR bin/54944: explicitly reject GPT protective MBRs.
PR bin/54944: make the "explicit single wedge" selection also work for
upgrades.
Reformat a query to add an automatically detected swap partition
so it fits on narrow screens.
Make re-install sets also work for an explicit selected root wedge
Fix copy&pasto in previous - from kre.
Only a single partition can ever have the "extend" flag (grow to available
size).
Do not use -P for tar extractions - the in tree tar has been fixed.
Finish conversion to generic partitioning backend

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Feb 6 19:41:57 2020 UTC (4 years, 9 months ago) by martin
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Reformat a query to add an automatically detected swap partition
so it fits on narrow screens.

Revision 1.13.2.6: download - view: text, markup, annotated - select for diffs
Tue Jan 28 10:17:58 2020 UTC (4 years, 10 months ago) by msaitoh
Branches: netbsd-9
CVS tags: netbsd-9-0-RC2
Diff to: previous 1.13.2.5: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.5: +6 -9 lines
Pull up following revision(s) (requested by martin in ticket #668):
	usr.sbin/sysinst/arch/cobalt/md.c: revision 1.11
	usr.sbin/sysinst/arch/cobalt/md.c: revision 1.12
	usr.sbin/sysinst/arch/arc/md.c: revision 1.11
	usr.sbin/sysinst/arch/arc/md.c: revision 1.12
	usr.sbin/sysinst/partman.c: revision 1.43
	usr.sbin/sysinst/partman.c: revision 1.46
	usr.sbin/sysinst/partman.c: revision 1.47
	usr.sbin/sysinst/partman.c: revision 1.48
	usr.sbin/sysinst/partman.c: revision 1.49
	usr.sbin/sysinst/msg.pm.fr: revision 1.2
	usr.sbin/sysinst/upgrade.c: revision 1.14
	usr.sbin/sysinst/arch/i386/md.c: revision 1.28
	usr.sbin/sysinst/arch/i386/md.c: revision 1.29
	usr.sbin/sysinst/arch/ofppc/md.c: revision 1.9
	usr.sbin/sysinst/arch/sandpoint/md.c: revision 1.7
	usr.sbin/sysinst/arch/sandpoint/md.c: revision 1.8
	usr.sbin/sysinst/gpt.c: revision 1.14
	usr.sbin/sysinst/gpt.c: revision 1.15
	usr.sbin/sysinst/arch/luna68k/md.c: revision 1.8
	usr.sbin/sysinst/gpt.c: revision 1.16
	usr.sbin/sysinst/msg.pm.de: revision 1.2
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.11
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.12
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.13
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.14
	usr.sbin/sysinst/sizemultname.c: revision 1.4
	usr.sbin/sysinst/msg.pm.en: revision 1.2
	usr.sbin/sysinst/arch/landisk/md.c: revision 1.12
	usr.sbin/sysinst/util.c: revision 1.41
	usr.sbin/sysinst/arch/landisk/md.c: revision 1.13
	usr.sbin/sysinst/util.c: revision 1.42
	usr.sbin/sysinst/arch/ofppc/md.c: revision 1.10
	usr.sbin/sysinst/partitions.c: revision 1.9
	usr.sbin/sysinst/arch/evbarm/md.h: revision 1.4
	usr.sbin/sysinst/arch/evbarm/md.h: revision 1.5
	usr.sbin/sysinst/arch/evbmips/md.c: revision 1.7
	usr.sbin/sysinst/arch/evbmips/md.c: revision 1.8
	usr.sbin/sysinst/msg.mi.fr: revision 1.25
	usr.sbin/sysinst/msg.mi.de: revision 1.20
	usr.sbin/sysinst/install.c: revision 1.14
	usr.sbin/sysinst/partitions.h: revision 1.13
	usr.sbin/sysinst/partitions.h: revision 1.14
	usr.sbin/sysinst/arch/evbppc/md.c: revision 1.7
	usr.sbin/sysinst/arch/playstation2/md.c: revision 1.7
	usr.sbin/sysinst/msg.mi.en: revision 1.27
	usr.sbin/sysinst/partitions.h: revision 1.15
	usr.sbin/sysinst/arch/evbppc/md.c: revision 1.8
	usr.sbin/sysinst/arch/hpcarm/md.c: revision 1.7
	usr.sbin/sysinst/arch/playstation2/md.c: revision 1.8
	usr.sbin/sysinst/msg.pm.pl: revision 1.2
	usr.sbin/sysinst/arch/hpcarm/md.c: revision 1.8
	usr.sbin/sysinst/msg.mi.es: revision 1.21
	usr.sbin/sysinst/arch/zaurus/md.c: revision 1.7
	usr.sbin/sysinst/target.c: revision 1.11
	usr.sbin/sysinst/arch/zaurus/md.c: revision 1.8
	usr.sbin/sysinst/part_edit.c: revision 1.14
	usr.sbin/sysinst/part_edit.c: revision 1.15
	usr.sbin/sysinst/part_edit.c: revision 1.16
	usr.sbin/sysinst/defs.h: revision 1.50
	usr.sbin/sysinst/defs.h: revision 1.51
	usr.sbin/sysinst/defs.h: revision 1.52
	usr.sbin/sysinst/defs.h: revision 1.53
	usr.sbin/sysinst/defs.h: revision 1.54
	usr.sbin/sysinst/arch/hpcmips/md.c: revision 1.7
	usr.sbin/sysinst/arch/hpcmips/md.c: revision 1.8
	usr.sbin/sysinst/arch/hpcsh/md.c: revision 1.8
	usr.sbin/sysinst/msg.pm.es: revision 1.2
	usr.sbin/sysinst/arch/hpcsh/md.c: revision 1.9
	usr.sbin/sysinst/label.c: revision 1.18
	usr.sbin/sysinst/label.c: revision 1.19
	usr.sbin/sysinst/net.c: revision 1.35
	usr.sbin/sysinst/msg.mi.pl: revision 1.28
	usr.sbin/sysinst/disklabel.c: revision 1.28
	usr.sbin/sysinst/disklabel.c: revision 1.29
	usr.sbin/sysinst/mbr.c: revision 1.24
	usr.sbin/sysinst/disks.c: revision 1.59
	usr.sbin/sysinst/mbr.c: revision 1.25
	usr.sbin/sysinst/mbr.c: revision 1.26
	usr.sbin/sysinst/mbr.c: revision 1.27
	usr.sbin/sysinst/mbr.c: revision 1.28
	usr.sbin/sysinst/label.c: revision 1.20
	usr.sbin/sysinst/mbr.c: revision 1.29
	usr.sbin/sysinst/bsddisklabel.c: revision 1.34
	usr.sbin/sysinst/bsddisklabel.c: revision 1.35
	usr.sbin/sysinst/bsddisklabel.c: revision 1.36
	usr.sbin/sysinst/bsddisklabel.c: revision 1.37
	usr.sbin/sysinst/disklabel.c: revision 1.30
	usr.sbin/sysinst/bsddisklabel.c: revision 1.38
	usr.sbin/sysinst/disklabel.c: revision 1.31
	usr.sbin/sysinst/disklabel.c: revision 1.32
	usr.sbin/sysinst/disklabel.c: revision 1.33
	usr.sbin/sysinst/disklabel.c: revision 1.34
	usr.sbin/sysinst/disks.c: revision 1.60
	usr.sbin/sysinst/disks.c: revision 1.61
	usr.sbin/sysinst/arch/bebox/md.c: revision 1.7
	usr.sbin/sysinst/disks.c: revision 1.62
	usr.sbin/sysinst/arch/bebox/md.c: revision 1.8
	usr.sbin/sysinst/mbr.c: revision 1.30
	usr.sbin/sysinst/partitions.c: revision 1.10
	usr.sbin/sysinst/arch/prep/md.c: revision 1.11
	usr.sbin/sysinst/arch/prep/md.c: revision 1.12
	usr.sbin/sysinst/menus.pm: revision 1.3
	usr.sbin/sysinst/main.c: revision 1.20
	usr.sbin/sysinst/menus.mi: revision 1.20
	usr.sbin/sysinst/menus.mi: revision 1.21
avoid calling snprintf/strlcat with an input parameter the same
as the output.  from martin@.  fixes gcc 8 restrict warnings.
Finish conversion of extended partitioning parts to new abstract
backend interface. XXX still could use a lot of polishing.
Instead of a (bogus) attempt to query the model via ofctl, use the (now
fixed) sysctl hw.model instead.
When reading the secondary disklabel partitions from an existing disklabel
set the mbr partitions as parent.
Move the LABELSECTOR check and make it FS type specific - some partition
types (FFS, RAID) are allowed to overlap with the LABELSECTOR.
When asked to create a whole-disk partition for unknown usage, do not only
assert(false), but actually return an error (in case "assert" is a nop).
PR install/54787: when trying to derive proper alignement and first offset
from exisiting partitions, use the first partition offset if it is already
closer to the start of the disk than the prefered alignment - we can not
move existing partitions around.
Fix handling of inner/outer partitions (e.g. MBR and disklabel) in
extended partitioning:
 - when editing a disk with such a schme, offer both partitions in two
   steps
 - when commiting changes save the inner partitions after the outer ones
Add a method to query the partitioning schemes "internal idea" of a
cylinder size - whatever that means in the real world.
Avoid using the global "pm" variable in utility functions - during
extended partitioning they may point to a different device.
Remove useless calls to get_ramsize() - return value is ignored and
the function has no side effects.
Fix /tmp tmpfs handling and on machines with enough RAM default to
creating a /tmp tmpfs with 25% of ram size limit. Suggested by ad@.
PR install/54872: fix printf argument order, sectors and heads were
swapped in the bios geometry display.
First try to bring evbarm installation closer to current reality.
hide disklabel_non_bootable() under NO_DISKLABEL_BOOT like the usage.
should fix most builds.
Deal with even stranger fictious empty disklabels (PR kern/54882).
Factor out all RAM size thresholds as defines to avoid magic numbers.
To work around PR misc/54886 bump the threshold for a tmpfs /tmp mount
up to 256 MB.
When retrying sets during extraction, reset the relevant statistics
to avoid counting retried sets multiple times.
Reported by kim.
Fix support for non-512-byte/sector disks again after I broke it when
introducing the abstract partition backends.
Use a few strlcpy() instead of strncpy() for network ioctl structs.
We seem to have no formal documentation stating the various
	char if*_name[IFNAMSIZ]; /* if name, e.g. "en0" */
elements in ioctls are nul terminated, but the peanut gallery claims
it is so - and at least half of the code in-tree touching them agrees.
Too much disklabel magic happening in the kernel - to compensate force
MBR first when trying to identify the existing partitioning scheme of
a disk.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Jan 9 13:22:30 2020 UTC (4 years, 10 months ago) by martin
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -9 lines
Finish conversion of extended partitioning parts to new abstract
backend interface. XXX still could use a lot of polishing.

Revision 1.13.2.5: download - view: text, markup, annotated - select for diffs
Tue Dec 17 09:44:50 2019 UTC (4 years, 11 months ago) by msaitoh
Branches: netbsd-9
Diff to: previous 1.13.2.4: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.4: +2 -1 lines
Pull up following revision(s) (requested by martin in ticket #560):
	usr.sbin/sysinst/partitions.h: revision 1.11
	usr.sbin/sysinst/defs.h: revision 1.49
	usr.sbin/sysinst/mbr.c: revision 1.23
	usr.sbin/sysinst/msg.mi.en: revision 1.26
	usr.sbin/sysinst/disks.c: revision 1.58
	usr.sbin/sysinst/arch/evbarm/menus.md.pl: revision 1.2
	usr.sbin/sysinst/msg.mi.es: revision 1.20
	usr.sbin/sysinst/arch/mvme68k/md.c: revision 1.9
	usr.sbin/sysinst/gpt.c: revision 1.13
	usr.sbin/sysinst/arch/evbarm/md.c: revision 1.10
	usr.sbin/sysinst/arch/arc/md.c: revision 1.10
	usr.sbin/sysinst/disklabel.c: revision 1.18
	usr.sbin/sysinst/bsddisklabel.c: revision 1.33
	usr.sbin/sysinst/disklabel.c: revision 1.19
	usr.sbin/sysinst/main.c: revision 1.19
	usr.sbin/sysinst/partman.c: revision 1.45
	usr.sbin/sysinst/arch/alpha/md.c: revision 1.7
	usr.sbin/sysinst/msg.mi.de: revision 1.19
	usr.sbin/sysinst/arch/evbarm/menus.md.en: revision 1.2
	usr.sbin/sysinst/arch/x68k/md.h: revision 1.4
	usr.sbin/sysinst/arch/x68k/md.c: revision 1.9
	usr.sbin/sysinst/arch/evbarm/menus.md.es: revision 1.2
	usr.sbin/sysinst/wskbd.c: revision 1.4
	usr.sbin/sysinst/label.c: revision 1.15
	usr.sbin/sysinst/arch/amiga/md.h: revision 1.5
	usr.sbin/sysinst/label.c: revision 1.16
	usr.sbin/sysinst/arch/hp300/md.c: revision 1.9
	usr.sbin/sysinst/arch/emips/md.c: revision 1.8
	usr.sbin/sysinst/label.c: revision 1.17
	usr.sbin/sysinst/arch/pmax/md.c: revision 1.7
	usr.sbin/sysinst/partitions.c: revision 1.6
	usr.sbin/sysinst/arch/prep/md.c: revision 1.10
	usr.sbin/sysinst/arch/mipsco/md.c: revision 1.7
	usr.sbin/sysinst/partitions.c: revision 1.7
	usr.sbin/sysinst/partitions.c: revision 1.8
	usr.sbin/sysinst/arch/ews4800mips/md.c: revision 1.5
	usr.sbin/sysinst/disklabel.c: revision 1.20
	usr.sbin/sysinst/arch/evbarm/menus.md.fr: revision 1.2
	usr.sbin/sysinst/msg.mi.fr: revision 1.24
	usr.sbin/sysinst/disklabel.c: revision 1.21
	usr.sbin/sysinst/partitions.h: revision 1.9
	usr.sbin/sysinst/msg.mi.pl: revision 1.27
	usr.sbin/sysinst/disklabel.c: revision 1.22
	usr.sbin/sysinst/disklabel.c: revision 1.23
	usr.sbin/sysinst/arch/i386/md.c: revision 1.27
	usr.sbin/sysinst/disklabel.c: revision 1.24
	usr.sbin/sysinst/disklabel.c: revision 1.25
	usr.sbin/sysinst/arch/cobalt/md.h: revision 1.5
	usr.sbin/sysinst/disklabel.c: revision 1.26
	usr.sbin/sysinst/disklabel.c: revision 1.27
	usr.sbin/sysinst/partitions.h: revision 1.10
	usr.sbin/sysinst/arch/cobalt/md.c: revision 1.10
PR install/54582: allow MD code to disable on-disk presence verification
of "real" disklabels. Auto-enable this (at run time) when there is no other
partitioning scheme but disklabel configured.
Hard-coded enable this for x68k to allow using kernel based translations
for native Human68k partitions.
Get rid of the evbarm preliminary menu: do not bother to ask the user
whether this is a RPi - query the FDT instead.
PR 54065: add optional "old compat" variant of ext2fs in file system
type selection and use that as default for the cobalt boot file system.
For now rely on the kernel mapping native RDB partitions.
Fix detection of existing disklabels in the case when we only have
the disklabel partitioning scheme available.
Fix DISKLABEL_NO_ONDISK_VERIFY (accidently disabled in previous)
Fix inverted comparison
Do not try to change the keyboard layout if we are not running on the
console.
When trying to tell a fictious but empty label from a real one, skip
partition a if it has the same start and size as the raw partition.
Remove bogus assert.
When finding (paritioning scheme native) partition types for file systems
from our install description, pass the partition type (not only the file
system type). Sometimes (e.g. EFI boot partition on GPT) the filesystem
type (MSDOS) is not a unique selector.
Adapt MD parts to changes in get_fs_part_type (pass partition type).
If a fictious label has no RAW_PART assume there is no valid disk label.
Pass proper track size when initializing the default alignment - this is
important with sunlabels.
Fix overlapping partitions display
Reject (what we consider) empty/invalid fake disklabels no matter whether
we have other partitioning schemes available or not.
Do not show disklabel command invocation by default (only if there are
errors).
After installing boot blocks with RUN_NO_CLEAR (and handling the
potential errors) make sure to clear the stdscreen.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Dec 11 19:23:37 2019 UTC (4 years, 11 months ago) by martin
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
PR 54065: add optional "old compat" variant of ext2fs in file system
type selection and use that as default for the cobalt boot file system.

Revision 1.13.2.4: download - view: text, markup, annotated - select for diffs
Sun Nov 17 13:45:26 2019 UTC (5 years ago) by msaitoh
Branches: netbsd-9
CVS tags: netbsd-9-0-RC1
Diff to: previous 1.13.2.3: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.3: +19 -2 lines
Pull up following revision(s) (requested by martin in ticket #436):
	usr.sbin/sysinst/disks.c: revision 1.55
	usr.sbin/sysinst/msg.mi.en: revision 1.24
	usr.sbin/sysinst/mbr.c: revision 1.22
	usr.sbin/sysinst/disks.c: revision 1.56
	usr.sbin/sysinst/msg.mi.en: revision 1.25
	usr.sbin/sysinst/disks.c: revision 1.57
	usr.sbin/sysinst/arch/playstation2/msg.md.pl: revision 1.3
	usr.sbin/sysinst/Makefile.inc: revision 1.30
	usr.sbin/sysinst/configmenu.c: revision 1.11
	usr.sbin/sysinst/util.c: revision 1.35
	usr.sbin/sysinst/gpt.c: revision 1.12
	usr.sbin/sysinst/util.c: revision 1.36
	usr.sbin/sysinst/arch/playstation2/msg.md.de: revision 1.3
	usr.sbin/sysinst/arch/i386/menus.md: revision 1.3
	usr.sbin/sysinst/util.c: revision 1.37
	usr.sbin/sysinst/part_edit.c: revision 1.11
	usr.sbin/sysinst/arch/i386/msg.md.en: revision 1.2
	usr.sbin/sysinst/util.c: revision 1.38
	usr.sbin/sysinst/part_edit.c: revision 1.12
	usr.sbin/sysinst/arch/i386/msg.md.en: revision 1.3
	usr.sbin/sysinst/util.c: revision 1.39
	usr.sbin/sysinst/part_edit.c: revision 1.13
	usr.sbin/sysinst/arch/i386/msg.md.en: revision 1.4
	usr.sbin/sysinst/disklabel.c: revision 1.15
	usr.sbin/sysinst/bsddisklabel.c: revision 1.30
	usr.sbin/sysinst/arch/i386/msg.md.es: revision 1.2
	usr.sbin/sysinst/bsddisklabel.c: revision 1.31
	usr.sbin/sysinst/arch/i386/msg.md.es: revision 1.3
	usr.sbin/sysinst/arch/i386/msg.md.es: revision 1.4
	usr.sbin/sysinst/mbr.h: revision 1.4
	usr.sbin/sysinst/main.c: revision 1.18
	usr.sbin/sysinst/partman.c: revision 1.44
	usr.sbin/sysinst/msg.mi.de: revision 1.17
	usr.sbin/sysinst/arch/i386/msg.md.fr: revision 1.2
	usr.sbin/sysinst/msg.mi.de: revision 1.18
	usr.sbin/sysinst/arch/i386/msg.md.fr: revision 1.3
	usr.sbin/sysinst/arch/playstation2/msg.md.en: revision 1.3
	usr.sbin/sysinst/arch/i386/msg.md.fr: revision 1.4
	usr.sbin/sysinst/arch/amd64/md.c: revision 1.2
	usr.sbin/sysinst/arch/ews4800mips/Makefile: revision 1.3
	usr.sbin/sysinst/arch/playstation2/msg.md.es: revision 1.3
	usr.sbin/sysinst/label.c: revision 1.13
	usr.sbin/sysinst/Makefile.inc: revision 1.29
	usr.sbin/sysinst/label.c: revision 1.14
	usr.sbin/sysinst/util.c: revision 1.40
	usr.sbin/sysinst/partitions.c: revision 1.5
	usr.sbin/sysinst/arch/amd64/md.h: revision 1.8
	usr.sbin/sysinst/msg.mi.es: revision 1.18
	usr.sbin/sysinst/net.c: revision 1.34
	usr.sbin/sysinst/msg.mi.es: revision 1.19
	usr.sbin/sysinst/arch/i386/msg.md.pl: revision 1.2
	usr.sbin/sysinst/arch/i386/md.c: revision 1.22
	usr.sbin/sysinst/msg.mi.fr: revision 1.22
	usr.sbin/sysinst/arch/playstation2/msg.md.fr: revision 1.3
	usr.sbin/sysinst/arch/i386/msg.md.pl: revision 1.3
	usr.sbin/sysinst/arch/i386/md.c: revision 1.23
	usr.sbin/sysinst/msg.mi.pl: revision 1.25
	usr.sbin/sysinst/msg.mi.fr: revision 1.23
	usr.sbin/sysinst/arch/i386/msg.md.pl: revision 1.4
	usr.sbin/sysinst/arch/i386/md.c: revision 1.24
	usr.sbin/sysinst/partitions.h: revision 1.8
	usr.sbin/sysinst/msg.mi.pl: revision 1.26
	usr.sbin/sysinst/arch/i386/msg.md.de: revision 1.2
	usr.sbin/sysinst/arch/i386/msg.md.de: revision 1.3
	usr.sbin/sysinst/arch/i386/msg.md.de: revision 1.4
	usr.sbin/sysinst/run.c: revision 1.13
	usr.sbin/sysinst/defs.h: revision 1.46
	usr.sbin/sysinst/install.c: revision 1.12
	usr.sbin/sysinst/defs.h: revision 1.47
	usr.sbin/sysinst/install.c: revision 1.13
	usr.sbin/sysinst/defs.h: revision 1.48
Add options to the various partitioning stages that allow cloning of
alien partitions (optionally including data).
PR 54467: we trust our own sets, extract them with -P to allow symlink
redirection (especially for updates and chroot services - back out
once a better solution for those is implemented)
Make cloning support optional, so we can save some space on very small
install media.
Drop MBR and cloning support on crunched install media.
Make tar extraction flags depend on our usage of pax-as-tar or bsdtar.
Fix missing newlines in bios match display, pointed out by maxv.
Drop unused variable.
Fix table of bios geomatries
knf style adjustments
Make the bootblock selection menu more sane, pointed out by maxv
Make sure all menus have a translatable exit option (or none at all).
On amd64 support installation with a KASLR kernel, via "custom install"
and selecting the GENERIC_KASLR kernel set.
Setup /prekern and boot.cfg accordingly.

Revision 1.13.2.3: download - view: text, markup, annotated - select for diffs
Sun Nov 17 07:04:34 2019 UTC (5 years ago) by martin
Branches: netbsd-9
Diff to: previous 1.13.2.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.2: +4 -1 lines
Pull up following revision(s) (requested by maya in ticket #435):

	distrib/sets/maketars: revision 1.90
	usr.sbin/sysinst/arch/playstation2/md.h: revision 1.2
	usr.sbin/sysinst/arch/sandpoint/md.h: revision 1.3
	usr.sbin/sysinst/arch/evbppc/md.h: revision 1.3
	usr.sbin/sysinst/arch/hpcarm/md.h: revision 1.3
	usr.sbin/sysinst/arch/mvme68k/md.h: revision 1.3
	distrib/sun3/MakeInstTape: revision 1.3
	usr.sbin/sysinst/util.c: revision 1.33
	distrib/sets/lists/rescue/mi: revision 1.1
	distrib/sets/lists/base/rescue.sun2: file removal
	usr.sbin/sysinst/arch/zaurus/md.h: revision 1.3
	distrib/sets/lists/base/rescue.ad.m68k.shl: file removal
	distrib/sets/regpkgset: revision 1.13
	usr.sbin/sysinst/arch/i386/md.h: revision 1.7
	distrib/sets/lists/base/rescue.sparc: file removal
	distrib/notes/mvme68k/xfer: revision 1.19
	distrib/sets/sets.subr: revision 1.187
	distrib/common/bootimage/Makefile.bootimage: revision 1.22
	usr.sbin/sysinst/msg.mi.de: revision 1.16
	usr.sbin/sysinst/arch/atari/md.h: revision 1.3
	rescue/Makefile: revision 1.38
	distrib/sets/lists/base/rescue.macppc: file removal
	usr.sbin/sysinst/arch/arc/md.h: revision 1.4
	distrib/miniroot/install.sub: revision 1.49
	usr.sbin/sysinst/arch/acorn32/md.h: revision 1.3
	usr.sbin/sysinst/arch/x68k/md.h: revision 1.3
	usr.sbin/sysinst/arch/hpcmips/md.h: revision 1.3
	usr.sbin/sysinst/arch/bebox/md.h: revision 1.3
	usr.sbin/sysinst/arch/hpcsh/md.h: revision 1.2
	distrib/sets/lists/base/rescue.shark: file removal
	usr.sbin/sysinst/arch/emips/md.h: revision 1.5
	distrib/utils/embedded/mkimage: revision 1.70
	usr.sbin/sysinst/arch/shark/md.h: revision 1.3
	usr.sbin/sysinst/arch/pmax/md.h: revision 1.4
	usr.sbin/sysinst/arch/amiga/md.h: revision 1.4
	usr.sbin/sysinst/arch/hp300/md.h: revision 1.5
	rescue/list.ldconfig: file removal
	distrib/sets/lists/base/rescue.ad.m68k: file removal
	usr.sbin/sysinst/arch/prep/md.h: revision 1.4
	usr.sbin/sysinst/arch/cats/md.h: revision 1.4
	usr.sbin/sysinst/arch/amd64/md.h: revision 1.7
	usr.sbin/sysinst/msg.mi.es: revision 1.17
	usr.sbin/sysinst/msg.mi.fr: revision 1.20
	usr.sbin/sysinst/msg.mi.pl: revision 1.23
	distrib/sets/lists/base/rescue.i386: file removal
	usr.sbin/sysinst/arch/evbarm/md.h: revision 1.3
	distrib/sets/lists/base/rescue.vax: file removal
	distrib/amd64/uefi-installimage/Makefile.bootimage: revision 1.12
	usr.sbin/sysinst/arch/evbmips/md.h: revision 1.3
	distrib/sets/lists/base/rescue.mi: file removal
	distrib/sets/README: revision 1.14
	usr.sbin/sysinst/arch/sgimips/md.h: revision 1.4
	distrib/sets/lists/base/rescue.sparc64: file removal
	distrib/sets/lists/base/rescue.mi: revision 1.45
	distrib/sets/lists/base/rescue.mi: revision 1.46
	usr.sbin/sysinst/arch/ofppc/md.h: revision 1.4
	usr.sbin/sysinst/arch/cobalt/md.h: revision 1.4
	distrib/sets/lists/base/rescue.ad.arm: file removal
	distrib/sets/lists/base/rescue.mac68k: file removal
	usr.sbin/sysinst/defs.h: revision 1.45
	usr.sbin/sysinst/arch/landisk/md.h: revision 1.2
	distrib/notes/atari/xfer: revision 1.17
	etc/Makefile: revision 1.441
	usr.sbin/sysinst/msg.mi.en: revision 1.22
	distrib/sun2/MakeInstTape: revision 1.2

Remove ldconfig from /rescue, and mark it MI obsolete.
- ldconfig in netbsd refers to a.out binaries only. We've been ELF-only
  since NetBSD 2.0 or so, and having it in /rescue served little purpose
  even before that, as /rescue is standalone.
- Using MI obsolete to avoid the need for MD set lists where ldconfig
  is the sole entry

Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD
rescue set list files.

Split out /rescue to its own set and adapt installers/images to add it.

This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Nov 16 20:26:59 2019 UTC (5 years ago) by martin
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -1 lines
Make sure all menus have a translatable exit option (or none at all).

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Nov 12 16:33:14 2019 UTC (5 years ago) by martin
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +17 -2 lines
Add options to the various partitioning stages that allow cloning of
alien partitions (optionally including data).

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Oct 2 11:16:04 2019 UTC (5 years, 2 months ago) by maya
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -1 lines
Split out /rescue to its own set and adapt installers/images to add it.

This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.

Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 18 13:25:21 2019 UTC (5 years, 3 months ago) by msaitoh
Branches: netbsd-9
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.1: +5 -2 lines
Pull up following revision(s) (requested by martin in ticket #82):
	usr.sbin/sysinst/util.c: revision 1.30
	usr.sbin/sysinst/msg.mi.fr: revision 1.19
	usr.sbin/sysinst/msg.mi.de: revision 1.15
	usr.sbin/sysinst/msg.mi.es: revision 1.16
	usr.sbin/sysinst/msg.mi.pl: revision 1.22
	usr.sbin/sysinst/msg.mi.en: revision 1.21
PR 54473: fix error prompt when a set file is missing

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 18 13:21:40 2019 UTC (5 years, 3 months ago) by msaitoh
Branches: netbsd-9
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -1 lines
Pull up following revision(s) (requested by martin in ticket #78):
	usr.sbin/sysinst/gpt.c: revision 1.10
	usr.sbin/sysinst/disklabel.c: revision 1.12
	usr.sbin/sysinst/msg.mi.fr: revision 1.18
	usr.sbin/sysinst/msg.mi.de: revision 1.14
	usr.sbin/sysinst/partitions.c: revision 1.2
	usr.sbin/sysinst/msg.mi.es: revision 1.15
	usr.sbin/sysinst/msg.mi.pl: revision 1.21
	usr.sbin/sysinst/partitions.h: revision 1.6
	usr.sbin/sysinst/msg.mi.en: revision 1.20
	usr.sbin/sysinst/mbr.c: revision 1.20
On architectures that usually do MBR/disklabel, nevertheless deal with
pure/plain disklabel disks, and explicitly offer this as partitioning
option when bootability is not a concern.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Aug 17 17:51:19 2019 UTC (5 years, 3 months ago) by martin
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +5 -2 lines
PR 54473: fix error prompt when a set file is missing

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Aug 14 13:02:23 2019 UTC (5 years, 3 months ago) by martin
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -1 lines
On architectures that usually do MBR/disklabel, nevertheless deal with
pure/plain disklabel disks, and explicitly offer this as partitioning
option when bootability is not a concern.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jul 23 18:13:40 2019 UTC (5 years, 4 months ago) by martin
Branches: MAIN
CVS tags: netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -1 lines
For upgrade / re-install allow the currently running system as a target
in the "disk" selection.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jun 12 06:20:18 2019 UTC (5 years, 5 months ago) by martin
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +448 -251 lines
Rework internal data structures and "interfaces to user interface" functions
to get rid of all disklabel assumptions.

Previously (even for GPT partitioning) struct disklabel was used, which
obviously breaks large disk setups. Also many MD parts and parts of the
user interface assumed (a) a struct disklabel is used internally to
store partitioning information and (b) partitions are named 'a' ... $MAXPART.

Get rid of this and replace it with a quite abstract interface that should
be able to deal with all variants in partition storage:

 - partitions are stored in a (partly abstract) struct disk_partitions
   and most parts of it are only accessed via accessor functions provided
   by a "partitioning scheme".

 - implement partitioning schemes for MBR, disklabel and GPT (with likely
   RDB [amiga] and Apple Partition Map [mac*] to follow soon)

 - partitioning schemes may be cascaded, e.g. on x86 when using MBR as
   "outer partitions", we have disklabel as "inner partitions".

 - all user interface goes via accessor functions in the partitioning scheme,
   some of which return pointers to special user interface descriptors
   (e.g. to allow editing partition flags, which are scheme specific)

Overall the user interface changes (in this initial step) are minimal but
noticable. A new Anita is needed for automatic test setups - many thanks
to Andreas Gustafsson for lots of early testing and a new Anita version,
and to Manuel Bouyer for cooperation and tests of the Anita release.

This work was sponsored by The NetBSD Foundation, Inc.

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:38 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +11 -10 lines
Sync with HEAD

Revision 1.6.14.4: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:51:03 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.6.14.3: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.14.3: +5 -6 lines
Synch with HEAD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:00:17 2019 UTC (5 years, 10 months ago) by martin
Branches: MAIN
CVS tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -6 lines
PR install/53857: make the pkgsrc menu wider, so the first column fits
in various translations. While there shorten some (misleading) text.

Revision 1.6.14.3: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:55 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.6.14.2: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.14.2: +6 -5 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Nov 15 10:34:21 2018 UTC (6 years ago) by martin
Branches: MAIN
CVS tags: pgoyette-compat-1226, pgoyette-compat-1126
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +6 -1 lines
Make use of the new positional parameters to better describe the first
partitioning step. Remove size limits/hints encoded in the translations
and replace them by values from the code.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Nov 3 18:30:00 2018 UTC (6 years, 1 month ago) by martin
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -5 lines
Remove "usage" translations - they never could be displayed as we only select
the language later.
Extend usage display a bit and sync with reality.

Revision 1.6.14.2: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:46:01 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.6.14.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.14.1: +2 -1 lines
Ssync with HEAD

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Sep 11 08:05:18 2018 UTC (6 years, 2 months ago) by martin
Branches: MAIN
CVS tags: pgoyette-compat-1020, pgoyette-compat-0930
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
Split the host name used for ftp transfers from the one used for http
transfers. This is slightly inconsistent, as directories are still
shared - but this allows us to default to cdn/nycdn for http (which don't
support ftp).

Revision 1.6.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:12 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +12 -1 lines
Sync with HEAD

Revision 1.6.8.1: download - view: text, markup, annotated - select for diffs
Tue Jun 5 08:12:54 2018 UTC (6 years, 6 months ago) by bouyer
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +12 -1 lines
Pull up following revision(s) (requested by martin in ticket #860):
	usr.sbin/sysinst/msg.mi.de: revision 1.7
	usr.sbin/sysinst/arch/i386/md.c: revision 1.10
	usr.sbin/sysinst/msg.mi.fr: revision 1.10
	usr.sbin/sysinst/arch/i386/md.c: revision 1.11
	usr.sbin/sysinst/menus.mi: revision 1.13
	usr.sbin/sysinst/arch/i386/md.c: revision 1.9
	usr.sbin/sysinst/msg.mi.es: revision 1.7
	usr.sbin/sysinst/msg.mi.en: revision 1.11
	usr.sbin/sysinst/mbr.c: revision 1.6
	usr.sbin/sysinst/disks.c: revision 1.15
	usr.sbin/sysinst/bsddisklabel.c: revision 1.4
	usr.sbin/sysinst/disks.c: revision 1.16
	usr.sbin/sysinst/msg.mi.pl: revision 1.9
	usr.sbin/sysinst/defs.h: revision 1.11
Add an option to install onto a pre-configured wedge.
Greatly simmplifies (U)EFI setups (but does not fully automate them yet).
In the generated /etc/fstab, do not use the (temporary, during sysinst)
path name for the file in the comment, but instead the one it will
have on the target system.
Reorder fetch options: http before ftp
Default console device and speed to that used by syinst
add missing brace.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jun 3 13:16:30 2018 UTC (6 years, 6 months ago) by martin
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +12 -1 lines
Add an option to install onto a pre-configured wedge.
Greatly simmplifies (U)EFI setups (but does not fully automate them yet).

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun May 17 10:13:24 2015 UTC (9 years, 6 months ago) by martin
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat, netbsd-8
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
Invert sense of a vnd creation message ("Create new image: Yes") and kill
the translations that I can't update myself.

Revision 1.2.4.3: download - view: text, markup, annotated - select for diffs
Thu May 14 07:11:53 2015 UTC (9 years, 6 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.2.4.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.2: +6 -11 lines
Pull up following revision(s) (requested by martin in ticket #759):
	distrib/amd64/cdroms/Makefile.cdrom: revision 1.12
	distrib/amd64/installimage/Makefile: revision 1.5
	distrib/amd64/installimage/spec.inst: revision 1.2
	distrib/common/10-resolv.conf: file removal
	distrib/common/99-print-sysinst: file removal
	distrib/common/Makefile.dhcpcd: revision 1.2
	distrib/common/list.dhcpcd: revision 1.3
	distrib/i386/cdroms/Makefile.cdrom: revision 1.32
	distrib/i386/installimage/Makefile: revision 1.5
	distrib/i386/installimage/spec.inst: revision 1.2
	distrib/sparc64/cdroms/installcd/Makefile: revision 1.20
	distrib/vax/cdroms/installcd/Makefile: revision 1.10
	usr.sbin/sysinst/msg.mi.de: revision 1.4
	usr.sbin/sysinst/msg.mi.en: revision 1.4
	usr.sbin/sysinst/msg.mi.es: revision 1.4
	usr.sbin/sysinst/msg.mi.fr: revision 1.4
	usr.sbin/sysinst/msg.mi.pl: revision 1.4
	usr.sbin/sysinst/net.c: revisions 1.5-1.8, 1.11-1.15
The dhcpcd utilties in pkgsrc require dhcpcd to be running in master mode.
So set dhcpcd to start like so, but restrict it to the configured interface
still instead of ifconfig_foo=dhcp.
--
Use the 20-resolv.conf hook from dhcpcd rather than the minimal one.
Extract configured information from resolv.conf and hostname instead
of scraping the last dhcpcd script run.
This will allow the use of DHCPv6 and IPv6RA DNS details in the future.
--
dhcpcd will already have configured the system at this point, so
don't bother writing it manually.
--
Don't prompt for hostname or domain if obtained from DHCP.
--
Change the display order so it's protocol agnostic at the top,
then IPv4 then IPv6.
--
Strip newline from the gateway correctly.
--
Show the IP6 address instead of yes
--
Fix a bogus gcc warning: dhcp_config may be used uninitialized
--
Punt custom dhcpcd hooks in favour up upstream hooks
--
For the benefit of gcc 4.5, rename a local "nl" variable to "nline",
so it doesn't collide with the global curses nl() function.

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Wed May 13 17:04:27 2015 UTC (9 years, 6 months ago) by snj
Branches: netbsd-7
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.1: +2 -2 lines
Pull up following revision(s) (requested by martin in ticket #754):
	usr.sbin/sysinst/menus.mi: revision 1.6
	usr.sbin/sysinst/msg.mi.de: revision 1.5
	usr.sbin/sysinst/msg.mi.en: revision 1.5
	usr.sbin/sysinst/msg.mi.es: revision 1.5
	usr.sbin/sysinst/msg.mi.fr: revision 1.5
	usr.sbin/sysinst/msg.mi.pl: revision 1.5
Change the IPv6 DNS selection to use DNS selection and add the
Google Public V4 DNS servers to the list.
The other field can take an IPv4 or IPv6 name server of choice.
Fixes PR install/49231.

Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Tue Jan 20 09:42:31 2015 UTC (9 years, 10 months ago) by martin
Branches: netbsd-7
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Pull up following revision(s) (requested by jmcneill in ticket #435):
	usr.sbin/sysinst/msg.mi.es: revision 1.3
	usr.sbin/sysinst/msg.mi.en: revision 1.3
	usr.sbin/sysinst/msg.mi.fr: revision 1.3
	usr.sbin/sysinst/msg.mi.pl: revision 1.3
	usr.sbin/sysinst/msg.mi.de: revision 1.3
remove trailing colon from "addusername" msg

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Sep 22 19:01:02 2014 UTC (10 years, 2 months ago) by roy
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Change the IPv6 DNS selection to use DNS selection and add the
Google Public V4 DNS servers to the list.
The other field can take an IPv4 or IPv6 name server of choice.
Fixes PR install/49231.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Sep 13 01:11:58 2014 UTC (10 years, 2 months ago) by roy
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -11 lines
Change the display order so it's protocol agnostic at the top,
then IPv4 then IPv6.

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:05:13 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.3.2.1: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +1268 -0 lines
Rebase to HEAD as of a few days ago.

Revision 1.3.2.1
Fri Aug 15 22:58:11 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.3: +0 -1268 lines
file msg.mi.de was added on branch tls-maxphys on 2014-08-20 00:05:13 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Aug 15 22:58:11 2014 UTC (10 years, 3 months ago) by jmcneill
Branches: MAIN
Branch point for: tls-maxphys
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
remove trailing colon from "addusername" msg

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 10 07:00:24 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.1: +1268 -0 lines
Rebase.

Revision 1.2.2.1
Sun Aug 3 16:09:38 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
FILE REMOVED
Changes since revision 1.2: +0 -1268 lines
file msg.mi.de was added on branch tls-earlyentropy on 2014-08-10 07:00:24 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Aug 3 16:09:38 2014 UTC (10 years, 4 months ago) by martin
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: tls-earlyentropy, netbsd-7
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +163 -15 lines
(Finally) merge a slightly modified version of the 2012 GSoC results
from Eugene Lozovoy: add extended partitioning options to sysinst.
Still needs some testing and polishing, but it now is possible to use GPT
or to create a RAID set from scratch and install onto it.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jul 26 19:30:44 2014 UTC (10 years, 4 months ago) by dholland
Branches: MAIN
Move sysinst sources to usr.sbin.

This commit only physically moves the sources - there are no other
changes, to maximize the probability that this will be treated as a
rename if we ever do manage to migrate away from CVS.

Moving sysinst has been discussed on and off for years and has two
goals: making it easier to work on sysinst, and also making sysinst
available on running systems for use installing chroots and VM images
and other such things. None of the latter is possible yet, but as they
say, one thing at a time.

Doing this now was approved in an impromptu fashion by mrg, riz,
riastradh, me, and groo.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>