Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2022 21:11:06 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
Cc:        Eugene Grosbein <eugen@grosbein.net>, FreeBSD stable <freebsd-stable@freebsd.org>,  FreeBSD Release Engineering Team <re@freebsd.org>
Subject:   Re: 13.1 mini-memstick installation image size
Message-ID:  <CANCZdfr4fBqkuq4hiksGc_quJJRuAfMSRzfinY%2BJAnsMjL%2Bu%2Bw@mail.gmail.com>
In-Reply-To: <20220319120900.3bca186fab063731706cbd65@dec.sakura.ne.jp>
References:  <72d30fc3-0ce4-51f8-ac7f-1b8eff63f3a9@grosbein.net> <CANCZdfokU7zi=D1TMdb0r4smy1fYgj-b_AvVY-HCzBTJ8q6v9g@mail.gmail.com> <373722bf-8f1d-7400-f639-83abdcd9fa10@grosbein.net> <20220319120900.3bca186fab063731706cbd65@dec.sakura.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000dd722805da899d4e
Content-Type: text/plain; charset="UTF-8"

On Fri, Mar 18, 2022, 9:09 PM Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
wrote:

> 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 thought I'd added it years ago by uncomptessing to /tmp and loading it
from there..

Warner

> I suppose GEOM_UZIP is more effective solution, and more versatile.
>
>
> --
> Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>
>

--000000000000dd722805da899d4e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Fri, Mar 18, 2022, 9:09 PM Tomoaki AOKI &lt;<a href=
=3D"mailto:junchoon@dec.sakura.ne.jp">junchoon@dec.sakura.ne.jp</a>&gt; wro=
te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex">On Sat, 19 Mar 2022 08:54:45 +0=
700<br>
Eugene Grosbein &lt;<a href=3D"mailto:eugen@grosbein.net" target=3D"_blank"=
 rel=3D"noreferrer">eugen@grosbein.net</a>&gt; wrote:<br>
<br>
&gt; 19.03.2022 3:58, Warner Losh wrote:<br>
&gt; <br>
&gt; &gt; On Fri, Mar 18, 2022 at 8:12 AM Eugene Grosbein &lt;<a href=3D"ma=
ilto:eugen@grosbein.net" target=3D"_blank" rel=3D"noreferrer">eugen@grosbei=
n.net</a> &lt;mailto:<a href=3D"mailto:eugen@grosbein.net" target=3D"_blank=
" rel=3D"noreferrer">eugen@grosbein.net</a>&gt;&gt; wrote:<br>
&gt; &gt; <br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0Hi!<br>
&gt; &gt; <br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0I wonder if we really need /usr/share to be ov=
er 106MB in FreeBSD-13.1-BETA1-amd64-mini-memstick.img<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0increasing its uncompressed size upto 434MB ? =
Same for bootonly image that is somewhat less<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0but it&#39;s still pretty large to be used for=
 network booting some hoster&#39;s virtual machine, for example.<br>
&gt; &gt; <br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0Isn&#39;t it time to use GEOM_UZIP, move kerne=
l modules to /boot/modules out of /boot/kernel<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0and compress /boot/modules (141MB) and /usr (1=
65MB) to reduce size of &quot;mini&quot; installatiom media drastically?<br=
>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; Or we could just compress the modules. We&#39;ve supported loadin=
g compressed modules for a long time....<br>
&gt; <br>
&gt; AFAIK, kldload cannot load compressed modules, only loader can.<br>
<br>
If so, kldload should support it as loader does.<br></blockquote></div></di=
v><div dir=3D"auto"><br></div><div dir=3D"auto">I thought I&#39;d added it =
years ago by uncomptessing to /tmp and loading it from there..</div><div di=
r=3D"auto"><br></div><div dir=3D"auto">Warner=C2=A0</div><div dir=3D"auto">=
<br></div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">
&gt; I suppose GEOM_UZIP is more effective solution, and more versatile.<br=
>
<br>
<br>
-- <br>
Tomoaki AOKI=C2=A0 =C2=A0 &lt;<a href=3D"mailto:junchoon@dec.sakura.ne.jp" =
target=3D"_blank" rel=3D"noreferrer">junchoon@dec.sakura.ne.jp</a>&gt;<br>
</blockquote></div></div></div>

--000000000000dd722805da899d4e--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfr4fBqkuq4hiksGc_quJJRuAfMSRzfinY%2BJAnsMjL%2Bu%2Bw>