HomeFreeBSD

reboot: Disallow -k and -r, it doesn't make sense.

Description

reboot: Disallow -k and -r, it doesn't make sense.

When we're re-rooting to a new /, there is no next kernel. Error out
rather than leaving a timebomb in /boot/nextboot.conf.

Sponsored by: Netflix
Reviewed by: kevans, kib, emaste
Differential Revision: https://reviews.freebsd.org/D43800

Details

Provenance
impAuthored on Feb 12 2024, 6:44 PM
Reviewer
kevans
Differential Revision
D43800: reboot: Disallow -k and -r, it doesn't make sense.
Parents
rGac4847e6b0e9: rescue: belatedly add zfsbootcfg
Branches
Unknown
Tags
Unknown