FreeBSD For The Linux Administrator
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.
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.
it's called "kernel" not "kernal" ....
Fun thing is on FreeBSD you could have those same 19 kernels sitting in your system ... being able to boot all 19 of them ... and STILL not needing to fiddle with any config-file/binary tool to allow you to boot them like LILO
I typed the wrong URL for the handbook section on kernel configuration.
--
Agreed. It's been discussed before. I think it would greatly help matters along if you just took the latest LINT, reformatted it as you see fit, and submitted the patches. I think Java would be a good choice of language - imagine the configuration editor running as an applet somewhere on the FreeBSD web site...
--
Personally I just add a few lines to the lilo.conf file and there we are... we have choice... new old, very old... older... 2.0 whatever you like (I do a lot of testing of the ac-patches (Alan Cox for you BSD folks who don't know Linux hackers by abrev.). And I got about 19 kernels in my LiLo right now.
New things are always on the horizon
Still, the default kernal is good enough for most people!
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.
UPS Sucks
What I really love about the FreeBSD kernel compilation is that all generated source files, header files, and object files are kept in separate compile directories (one for each kernel configuration). This way you can compile multiple kernels simultaneously without having the different kernel compilations interfere with each other. I haven't compiled a Linux kernel in ages though, so it might be that this is supported nowdays.
I much prefer FreeBSDs text file configuration to that on linux, but it would be nice to have a generator program, which would go through *all* the possible choices, and create an initial KERNEL file for you to edit.
ok then your [sic] infringing on my copyright! Could you as [sic] me next time before STEALING my comments for your own?
...the article in question contains multiple factual errors. The general feeling I get from reading it is that it obscures rather than clarifies the issue. FreeBSD does have a handbook which goes to some lengths to explain these things. Oh, and people, never do "make depend all install" like the article suggests. Make doesn't rescan the dependency file after the "depend" step, so the kernel is built with possibly incorrect dependency information.
--