https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210722

            Bug ID: 210722
           Summary: [PATCH] bsdinstall: partedit allows user to modify
                    bootable partition type to non-supported type without
                    warning
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]
          Keywords: patch

Created attachment 171972
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171972&action=edit
Patch with source code of the change

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.

Reviewed here:
https://reviews.freebsd.org/D6879

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to