[RFC] Split nextboot deletion from /etc/rc.d/root

Mike Telahun Makonnen mtm at FreeBSD.Org
Tue Mar 11 08:34:43 UTC 2008


On Sat, Mar 8, 2008 at 3:31 AM, Xin LI <delphij at delphij.net> wrote:
> Hi,
>
> Here is a patch that moves the nextboot deletion from /etc/rc.d/root to
> a new script which would be fired after mountlate.  The reason behind
> this is that /boot is not necessarily part of the /, and doing nextboot
> -D would give an error if /boot is not mounted (i.e. in a typical setup
> of ZFS root).
>
> Objections?

How about simply adding it to rc.d/mountlate as well as rc.d/root
instead of writing a separate script.

Cheers.


More information about the freebsd-rc mailing list