Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jun 2016 12:07:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 210722] [PATCH] bsdinstall: partedit allows user to modify bootable partition type to non-supported type without warning
Message-ID:  <bug-210722-8@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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: freebsd-bugs@FreeBSD.org
          Reporter: der@semihalf.com
          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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210722-8>