freebsd-skq/usr.sbin/bsdinstall/partedit
wma 5bac2d5f67 bsdinstall: add warning when unsupported partition is modified
Right now is possible to modify bootable partition type to
non-bootable type without getting warning from partedit.
Example: if you auto parition drive for arm64, you will
get freebsd-ufs as bootable partition; now you are able
to change bootable partition type to freebsd-zfs; there
will be no warning and the system will install but
will not be bootable afterwards.

After this fix, partedit will issue the same warning it
does when user attempts to create bootable partition of
not supported type, notyfing a user about incoming
problem and allowing to think the decision over before
commiting the schema.

This has been tested on amd64 and arm64.

Obtained from:         Semihalf
Submitted by:          Dominik Ermel <der@semihalf.com>
Sponsored by:          Cavium
Reviewed by:           nwhitehorn
Differential Revision: https://reviews.freebsd.org/D6879
2016-09-05 08:42:36 +00:00
..
diskeditor.c
diskeditor.h
gpart_ops.c
Makefile
Makefile.depend
part_wizard.c
partedit_arm64.c
partedit_generic.c
partedit_pc98.c
partedit_powerpc.c
partedit_sparc64.c
partedit_x86.c
partedit.c
partedit.h
sade.8
scripted.c