From nobody Sat Mar 19 03:09:00 2022 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 185291A28615 for ; Sat, 19 Mar 2022 03:09:08 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KL5Sg4brsz3wGr; Sat, 19 Mar 2022 03:09:07 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from kalamity.joker.local (123-1-31-137.area1b.commufa.jp [123.1.31.137]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 22J390Nx055746; Sat, 19 Mar 2022 12:09:01 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Sat, 19 Mar 2022 12:09:00 +0900 From: Tomoaki AOKI To: Eugene Grosbein Cc: Warner Losh , FreeBSD stable , FreeBSD Release Engineering Team Subject: Re: 13.1 mini-memstick installation image size Message-Id: <20220319120900.3bca186fab063731706cbd65@dec.sakura.ne.jp> In-Reply-To: <373722bf-8f1d-7400-f639-83abdcd9fa10@grosbein.net> References: <72d30fc3-0ce4-51f8-ac7f-1b8eff63f3a9@grosbein.net> <373722bf-8f1d-7400-f639-83abdcd9fa10@grosbein.net> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4KL5Sg4brsz3wGr X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sat, 19 Mar 2022 08:54:45 +0700 Eugene Grosbein wrote: > 19.03.2022 3:58, Warner Losh wrote: > > > On Fri, Mar 18, 2022 at 8:12 AM Eugene Grosbein > 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