freebsd-skq/usr.sbin/bsdinstall/partedit
Wojciech Macek e24e98d090 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 bsdinstall: add warning when unsupported partition is modified 2016-09-05 08:42:36 +00:00
Makefile Use LIBEXECDIR for /usr/libexec. 2015-11-26 01:14:40 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
part_wizard.c Add support for two workarounds for known issues booting GPT in legacy mode on some hardware 2015-07-18 18:49:44 +00:00
partedit_arm64.c ARM64: bsdinstall support for creating EFI partitions 2016-06-20 06:40:58 +00:00
partedit_generic.c Add ZFS support to the bsdinstall partition editor and sade. 2014-09-13 18:24:54 +00:00
partedit_pc98.c Add ZFS support to the bsdinstall partition editor and sade. 2014-09-13 18:24:54 +00:00
partedit_powerpc.c Add ZFS support to the bsdinstall partition editor and sade. 2014-09-13 18:24:54 +00:00
partedit_sparc64.c Add ZFS support to the bsdinstall partition editor and sade. 2014-09-13 18:24:54 +00:00
partedit_x86.c bsdinstall: increase EFI partition size to 200MB 2016-06-23 18:04:48 +00:00
partedit.c Remove unportable calls to basename(). 2016-04-26 10:04:06 +00:00
partedit.h Add support for two workarounds for known issues booting GPT in legacy mode on some hardware 2015-07-18 18:49:44 +00:00
sade.8 Add ZFS support to the bsdinstall partition editor and sade. 2014-09-13 18:24:54 +00:00
scripted.c Add ZFS support to the bsdinstall partition editor and sade. 2014-09-13 18:24:54 +00:00