No device or #?

ucsdboy

Member


Messages: 27

I’m confused. After we copy GENERIC to another file and alter it, should we comment out device drivers we don’t need? Or should we change device to no device?
 

Alain De Vos

Daemon

Reaction score: 639
Messages: 2,150

You don't have to copy GENERIC.
You can start with an empty CONFIG file and enter:
Code:
include GENERIC
And then you can add what you don't want in it e.g.,
Code:
nooption NFS_ROOT
nodevice      ahc
...
 

scottro

Daemon

Reaction score: 893
Messages: 2,040

I suspect you gain very little when commenting out device drivers in GENERIC. Also, it removes the choice of using freebsd-update, which isn't a problem if you always want to build from source.
 
Top