freebsd at edvax.de
Sun Dec 26 20:25:54 UTC 2010
On Sun, 26 Dec 2010 15:11:54 -0500, "Grant Peel" <gpeel at thenetnow.com> wrote:
> After running cvsup to obtain the new source, is it generally
> considered OK to run the maike buildworld in multiuser mode,
> or, are the dangers to doing this?
Seems to be no problem, as /usr/src/Makefile states this
as the default order:
For individuals wanting to upgrade their sources (even if only a
delta of a few days):
1. `cd /usr/src' (or to the directory containing your source tree).
2. `make buildworld'
3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
4. `make installkernel KERNCONF=YOUR_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. `make delete-old'
9. `mergemaster' (you may wish to use -U or -ai).
11. `make delete-old-libs' (in case no 3rd party program uses them anymore)
> Of course, after that step, one would drop to single user
> mode to buildkernel, installkernel, and installworld.
No, buildkernel, as all build activities, can be safely
performed in multi-user mode. There are just restrictions
in when to actually INSTALL built stuff. The kernel can
be installed in multi-user mode (but should be okay in
single-user mode, too), THEN the reboot into that new
kernel is performed, in single-user mode of course, and
finally the world is installed in this "construction
environment". After that, the system is rebooted again
to start into multi-user mode again with the fully
updated system (kernel AND world).
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions