Re: nanobsd [was Re: Cross compiling user applications for armv7]

From: Warner Losh <imp_at_bsdimp.com>
Date: Sat, 20 Sep 2025 02:35:50 UTC
On Fri, Sep 19, 2025, 8:30 PM Zach Metzinger <zmetzing@pobox.com> wrote:

> On 9/19/25 20:58, Mark Millard wrote:
> > Not that I'm familiar with the details, but I'll note
> > nanobsd as a possible source of some ideas for builds
> > and installs for embedded applications, not necessarily
> > tied to the specifics above:
> >
> > https://man.freebsd.org/cgi/man.cgi?nanobsd
> >
> > Some quotes:
> >
> > "nanobsd.sh  --  utility used to create a FreeBSD system image suitable
> for embedded applications"
>
> This is fantastically useful to know. Thank you, Mark!
>

I'm also adding pkgbase support to nanobsd shortly. For very fast, noroot
builds if you use a pkg repo...

I have a number of Beaglebone Greens in the wild that use read-only root
> with /tmp and /var mounted as tmpfs. This is done auto-magically by
> standard FreeBSD when / is marked ro in /etc/fstab.
>
> Quite useful when something is powered from an unreliable/limited energy
> source, such as solar.
>


Glad you like it.

Warner


--- Zach
>
>
>