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

            Bug ID: 211503
           Summary: gpart bootcode should have an easier way to specify
                    partition index
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

When installing bootcode to a partition, the user needs to find the right
partition index.

    gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0

This is tedious and error-prone.  The bootcode command should take an
alternative parameter that specifies the partition in a more user-friendly way.
 My first idea is -t <type>, such as

    gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -t freebsd-boot da0

This would install to the first freebsd-boot partition on da0.

Perhaps another option is to use the partition's label, which would be even
more user-friendly.

-- 
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