Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2021 10:47:08 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Graham Perrin <grahamperrin@gmail.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: (D29934) Reorder commented steps in UPDATING following sequential order. (was: etcupdate -p vs. root on zfs (and bectl use and such): no /usr/src/etc/master.passwd (for example))
Message-ID:  <26382519-EE00-47C8-93F3-BDAF9D7668A2@yahoo.com>
In-Reply-To: <56f1a1ed-bc53-ec53-46e0-782c9c0351cb@gmail.com>
References:  <38D7D3C8-7007-43BF-BD19-78F6F92BCD1B.ref@yahoo.com> <38D7D3C8-7007-43BF-BD19-78F6F92BCD1B@yahoo.com> <56f1a1ed-bc53-ec53-46e0-782c9c0351cb@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 2021-Apr-25, at 08:14, Graham Perrin <grahamperrin at gmail.com> =
wrote:

> On 23/04/2021 08:39, Mark Millard via freebsd-current wrote:
>=20
>> 	<reboot in single user>				[3]
>=20
>=20
> With regard to mounting ZFS file systems in single user mode
>=20
> What's currently footnote 3 will probably become footnote 4, please =
see:
>=20
> <https://reviews.freebsd.org/D29934#inline-186101>;
>=20
> =E2=80=A6 and so on.

If it were me, I'd probably do something to make the
mounting of file systems and such have an explicit
reminder as its own step, something like:

	<reboot in single user>
	<mount file systems, cd to src, adjust time>	[4]
	mergemaster -Fp					[5]

I just do not think of such as part of <reboot in single user>:
it is already rebooted in single user at that point in my
view.

Sorry that I missed what was there in UPDATING.

However, /usr/src/Makefile has:

#  1.  `cd /usr/src'       (or to the directory containing your source =
tree).
#  2.  `make buildworld'
#  3.  `make buildkernel KERNCONF=3DYOUR_KERNEL_HERE'     (default is =
GENERIC).
#  4.  `make installkernel KERNCONF=3DYOUR_KERNEL_HERE'   (default is =
GENERIC).
#       [steps 3. & 4. can be combined by using the "kernel" target]
#  5.  `reboot'        (in single user mode: boot -s from the loader =
prompt).
#  6.  `mergemaster -p'
#  7.  `make installworld'
#  8.  `mergemaster'            (you may wish to use -i, along with -U =
or -F).
#  9.  `make delete-old'
# 10.  `reboot'
# 11.  `make delete-old-libs' (in case no 3rd party program uses them =
anymore)

without such material, even in footnotes.


Side notes:

"=46rom the bootblocks, boot -s, and then do":
"=46rom the boot loader, boot -s, and then do"?

etcupdate vs. mergemaster and the $FreeBSD$ issue?
Is mergemaster going to stay as the recommented
command to use? If so, with which command line
options?

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26382519-EE00-47C8-93F3-BDAF9D7668A2>