Re: 13.1 mini-memstick installation image size
- Reply: Warner Losh : "Re: 13.1 mini-memstick installation image size"
- In reply to: Eugene Grosbein : "Re: 13.1 mini-memstick installation image size"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Mar 2022 03:09:00 UTC
On Sat, 19 Mar 2022 08:54:45 +0700 Eugene Grosbein <eugen@grosbein.net> wrote: > 19.03.2022 3:58, Warner Losh wrote: > > > On Fri, Mar 18, 2022 at 8:12 AM Eugene Grosbein <eugen@grosbein.net <mailto:eugen@grosbein.net>> wrote: > > > > Hi! > > > > I wonder if we really need /usr/share to be over 106MB in FreeBSD-13.1-BETA1-amd64-mini-memstick.img > > increasing its uncompressed size upto 434MB ? Same for bootonly image that is somewhat less > > but it's still pretty large to be used for network booting some hoster's virtual machine, for example. > > > > Isn't it time to use GEOM_UZIP, move kernel modules to /boot/modules out of /boot/kernel > > and compress /boot/modules (141MB) and /usr (165MB) to reduce size of "mini" installatiom media drastically? > > > > > > Or we could just compress the modules. We've supported loading compressed modules for a long time.... > > AFAIK, kldload cannot load compressed modules, only loader can. If so, kldload should support it as loader does. > I suppose GEOM_UZIP is more effective solution, and more versatile. -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp>