Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2008 01:11:24 -0700
From:      Xin LI <delphij@delphij.net>
To:        Mike Telahun Makonnen <mtm@FreeBSD.Org>
Cc:        freebsd-rc@freebsd.org, d@delphij.net
Subject:   Re: [RFC] Split nextboot deletion from /etc/rc.d/root
Message-ID:  <47D63EAC.5020800@delphij.net>
In-Reply-To: <584bfc3f0803110108o65a4d07ar9075dff7512002e5@mail.gmail.com>
References:  <47D1DE64.20405@delphij.net> <584bfc3f0803110108o65a4d07ar9075dff7512002e5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Telahun Makonnen wrote:
> On Sat, Mar 8, 2008 at 3:31 AM, Xin LI <delphij@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.

Yes, I think this is reasonable, thanks for that.

To all:

I intend to change nextboot -D into nextboot -D > /dev/null 2>&1 in 
rc.d/root and add nextboot -D into mountlate.  Any objections?

Cheers,
-- 
Xin LI <delphij@delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47D63EAC.5020800>