What's so compelling about FreeBSD?
Garrett Cooper
youshi10 at u.washington.edu
Wed Oct 18 05:43:43 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Simon Gao wrote:
> Robert Huff wrote:
>> Jeff Mohler writes:
>>
>>
>>> > > Linux supports more devices than FreeBSD, especially new devices.
>>>
>>> Linux clearly supports many more bugs than FreeBSD as well.
>>>
>> "Linux is closer to the bleeding edge; always remember that
>> blood will usually be yours."
>>
>>
>> Robert Huff
>
> With Gentoo, installing and upgrading to the most up-to-date packages is
> a choice up to end users. Gentoo is all about choice. One can definitely
> choose to use packages a few years behind.
>
> Simon
Found out some cool make targets by chance..
- From /usr/src/Makefile:
# universe - *Really* build *everything* (buildworld and
# all kernels on all architectures).
# buildworld - Rebuild *everything*, including glue to help do
# upgrades.
# installworld - Install everything built by "buildworld".
# world - buildworld + installworld.
# buildkernel - Rebuild the kernel and the kernel-modules.
# installkernel - Install the kernel and the kernel-modules.
# installkernel.debug
# reinstallkernel - Reinstall the kernel and the kernel-modules.
# reinstallkernel.debug
# kernel - buildkernel + installkernel.
# update - Convenient way to update your source tree (cvs).
# check-old - Print a list of old files/directories in the system.
# delete-old - Delete obsolete files and directories interactively.
# delete-old-libs - Delete obsolete libraries interactively.
#
# This makefile is simple by design. The FreeBSD make automatically reads
# the /usr/share/mk/sys.mk unless the -m argument is specified on the
# command line. By keeping this makefile simple, it doesn't matter too
# much how different the installed mk files are from those in the source
# tree. This makefile executes a child make process, forcing it to use
# the mk files from the source tree which are supposed to DTRT.
#
# The user-driven targets (as listed above) are implemented in
Makefile.inc1.
#
# If you want to build your system from source be sure that /usr/obj has
# at least 400MB of diskspace available.
#
# For individuals wanting to build from the sources currently on their
# system, the simple instructions are:
#
# 1. `cd /usr/src' (or to the directory containing your source tree).
# 2. `make world'
#
# 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).
# 5. `reboot' (in single user mode: boot -s from the loader
prompt).
# 6. `mergemaster -p'
# 7. `make installworld'
# 8. `make delete-old'
# 9. `mergemaster'
# 10. `reboot'
# 11. `make delete-old-libs' (in case no 3rd party program uses them
anymore)
So, this helps a bit when updating your system. Didn't realize that the
delete-old and delete-old-libs make targets existed, nor kernel..
- -Garrett
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFNiFR6CkrZkzMC68RAgROAJ9HFYZiWxU1/BvLc/u9gwu2TOkHDQCcC8WM
bMNx1Y+xKfIXwpsZiOR9908=
=ESy8
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list