NANO_MODULES introduced in nanobsd.sh looks inconvenient
1wkmmr at gmail.com
Tue Oct 4 12:33:07 UTC 2011
Re: $FreeBSD: src/tools/tools/nanobsd/nanobsd.sh,v 188.8.131.52 2011/10/02
13:48:15 mr Exp $
nanobsd.sh was modified on Revision 225923 Sun Oct 2 13:48:15 2011
UTC. That introduced new variable NANO_MODULES which specifies kernel
modules to be included in the final disk image. As a result, no kernel
module is installed if NANO_MODULES is empty. It might be useful to
reduce the image size. This specification may be acceptable for
embedding system's use.
However, on the other hand, it means we have to specify all the
necessary modules. I'm using nanobsd as a usb-bootable freebsd of
fullset. This usb-bootable image is convenient when we use fullset of
freebsd on some ms-windows installed pc's which is not allowed to
install other OS (Sometimes, we have to give up the warranty if we
install other OS.). In this scenario, The current specification is not
How about the following functional modification to the nanobsd.sh in
** If NANO_MODULES is not defined, all modules are installed.
PS. I'm not sure where is the best place to ask. Is it mr?, but how can
I access to mr, no way.
More information about the freebsd-stable