Date: Mon, 01 Aug 2016 15:34:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 211503] gpart bootcode should have an easier way to specify partition index Message-ID: <bug-211503-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211503 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: freebsd-bugs@FreeBSD.org Reporter: vangyzen@freebsd.org 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211503-8>