Solved NanoBSD: parameters in .cf file

Colleagues, tell me please, where you can get full information about what interests me.

To customize the NanoBSD assembly, use configuration files (.cf). In such files, among other things, there are sections CONF_BUILD, CONF_INSTALL and CONF_WORLD.
In these sections, with the prefix "WITHOUT_" are listed the components of the operating system that do not need to be included in a specific assembly.

How can I get a full list of the names of all possible values for these sections?

Unfortunately, the existing documentation has a Spartan laconism. The configs when quoted in the mailing lists have more extensive sets of these values. And I believe that they are also not the most complete.

Where can I read or how to extract the full list of possible values?

Thankful in advance for the answer.

Ogogon
 
See here -- src.conf(5); there also few lists like this, where you can see which combinations work and how much space you're going to save by excluding a feature.

Here is a sample server configuration:
Code:
WITHOUT_AMD=YES # auto-mount daemon
WITHOUT_AUTOFS=YES # auto-mounter filesystem
WITHOUT_BLUETOOTH=YES
WITHOUT_BOOTPARAMD=YES # serve boot parameters to diskless
WITHOUT_BOOTPD=YES # BOOTP server/gateway
WITHOUT_BSDINSTALL=YES
WITHOUT_CALENDAR=YES
WITHOUT_CCD=YES # concatenated disk driver
WITHOUT_CTM=YES # source code mirror program
WITHOUT_DEBUG_FILES=YES
WITHOUT_EE=YES # easy editor
WITHOUT_EXAMPLES=YES
WITHOUT_FORTRAN=YES
WITHOUT_FREEBSD_UPDATE=YES
WITHOUT_GAMES=YES
WITHOUT_HTML=YES
WITHOUT_INFO=YES
WITHOUT_KERNEL_SYMBOLS=YES
WITHOUT_LIB32=YES
WITHOUT_LOCALES=YES
WITHOUT_LPR=YES
WITHOUT_MAKE=YES
# WITHOUT_MAN=YES
WITHOUT_MISC=YES
# WITHOUT_PKGBOOTSTRAP=YES # breaks install pkg step
WITHOUT_PORTSNAP=YES
WITHOUT_PROFILE=YES
WITHOUT_RCMDS=YES
WITHOUT_RCS=YES # version control
WITHOUT_RESCUE=YES # static-built /rescue
# WITHOUT_SENDMAIL=YES
WITHOUT_SHARE=YES
WITHOUT_SHAREDOCS=YES
WITHOUT_SOURCELESS_UCODE=YES
WITHOUT_SVNLITE=YES
WITHOUT_TESTS=YES
# WITHOUT_TEXTPROC=YES
WITHOUT_TOOLCHAIN=YES
WITHOUT_WIRELESS=YES

However I only use CONF_INSTALL, hence everything is built/compiled, but not everything is installed.

If you want to save few more bits you might strip development man pages, as well, header files, static libraries, etc. (including ones, installed by packages).
 
Thank you. I believe that in the documentation for nanobsd need to mention this information.

Ogogon.
 
Back
Top