include GENERIC
and only list your differencesinclude GENERIC
ident DESKTOP
device sg
I was following the handbook and a book called Absolute FreeBSD. I did remove the drm device on my second attempt because it err right away because of it. include GENERIC I'm a little lost on how to do it.Little example for what I mean: This is my whole config for a kernel named DESKTOP, including sg devices needed for multimedia/makemkv:
It's much easier to maintain that way, you can focus on your actual changes and you won't miss out important upstream changes to the GENERIC config.Code:include GENERIC ident DESKTOP device sg
# Parallel port
# device ppc
# device ppbus # Parallel port bus (required)
device lpt # Printer
I just showed an example. That was a "complete" (by including GENERIC) kernel config file in my posting above.include GENERIC I'm a little lost on how to do it.
Yes that was the old way: one would create a kernel config with just the features and devices that are required.I was following the handbook and a book called Absolute FreeBSD.
That needs a little bit of hackery to make it work, but that is quite pointless now because it will be removed in Rel.13 anyway.I did remove the drm device on my second attempt because it err right away because of it.
So everyone is loading all those useless drivers even though they don't need them!Yes that was the old way: one would create a kernel config with just the features and devices that are required.
But nowadays most use cases can work with GENERIC and load the missing devices as kernel modules. This will cost some 10-15 MB of RAM for the superfluous drivers in GENERIC, and nobody seems to be bothered by that anymore.
That needs a little bit of hackery to make it work, but that is quite pointless now because it will be removed in Rel.13 anyway.