FreeBSD For The Linux Administrator 17
LinuxWorld carries an article by Michael Lucas, Customizing The FreeBSD Kernel. The twist is that it's written partly from the perspective of a Linux user, highlighting the similarities and differences between the two systems.
Re:Unfortunately... (Score:1)
I see .. one would need to force make into rescanning the dependencies after it processed a 'depend' target.
Not sure if this can be done without modifying make. In either case it would be very nice to have some warning about this case somewhere.
Nitpicking .... (Score:1)
Re:Nice (Score:1)
Darn. (Score:1)
--
Re:A nice addition (Score:1)
--
Re:Nice (Score:1)
Nice (Score:1)
Still, the default kernal is good enough for most people!
Re:Nitpicking .... (Score:1)
(sound of me sticking my tongue out and blowing a raspberry, then wiping the monitor with a tissue)
Okay, Kernel.
Linux Kernel in a Nutshell - O'Reilly.
Re:Nice (Score:1)
If the tool is sufficiently advanced it should do that for me fairly transparently. While FreeBSD doesn't automatically save more than 1 version of the kernel, not updating and re-running something (ie. lilo) won't shut my system down until I can get a recovery diskette and get into the system, find out what I messed up, re-run lilo and try again..
With FreeBSD, I just load the last good kernel, boot with it and I am running again.. No recover diskette needed..
Re:Unfortunately... (Score:1)
Sorry.. I always do it... Its a habit when I tweak the kernel config file.. make depend, make all, make install...
I bet a large majority of people building kernels do the depend step.
Seperate compile directories (Score:1)
A nice addition (Score:1)
Re:A nice addition (Score:2)
Re:Nice (Score:2)
I like the fact the FreeBSD will keep a rescue kernal which is easy to boot if all goes wrong, but LINT is not the best type of documentation in the world. OTOH it is pretty easy to compile out all the crud like redundant ethernet and scsi and whatever that is installed by default, and you can be guaranteed to edit the kernal config file remotely via a text terminal without the useless interrogation of the Linux system.
MenuConfig on Linux is okay, fine for brutalising a kernal first time around before fine-tuning it. FreeBSD would benefit from a tool like this, but done better.
Re:Nice (Score:2)
Also, the fact that its more difficult to make your system unbootable with FreeBSD (since by default when you install a new kernel it saves your old one) and if your new kernel doesn't work, you can get back to the old one more easily [ no worries about munging up the system so bad you need a recovery disk to re-do LILO ].
I was able to get a working kernel from FreeBSD the 1st try (because of the Online Handbook [freebsd.org] being decent...)
I have only rebuilt a linux kernel once (when I needed more than the default 4 software raid drives in RH 5.2).
I also think editing 1 file verses the 5 miles of check boxes for a Linux kernel is easier. You can also more easily change 1 thing then rebuild your kernel and keep going..
Re:A nice addition (Score:3)
Unfortunately... (Score:3)
--