al...@ulgsm.ru wrote:
Label from freebsd sysinstall in auto mode, make root partition 500mb
For update OS (kernel + kernel.old) need about 700mb

Howto rebild kernel with litsted in kldstat modules?

In your kernel config file, use

makeoptions MODULES_OVERRIDE="<the modules you need>"

E.g.

makeoptions MODULES_OVERRIDE="atapicam zfs geom_eli geom_journal"

will build only the atapicam, zfs, geom_eli and geom_journal modules.
To save even more space, you could remove the

makeoptions DEBUG=-g

This will prevent debug symbols for kernel and modules from being installed.

If that isn't enough, have a look at the src.conf(5) man page, for a list of options that let you choose what parts of the userland to install.

Cheers,

Rolf Nielsen
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to