mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Martin Wege <martin.l.wege@gmail.com>
To: Barebox List <barebox@lists.infradead.org>
Subject: Re: Mount NFSv4.1/NFSv4.2 filesystem in barebox?
Date: Mon, 26 Oct 2026 09:41:21 +0100	[thread overview]
Message-ID: <CANH4o6OSuDrwo5EYYtKL=W-96j9U1WtZ5XkHtJkgiQZriiegsA@mail.gmail.com> (raw)
In-Reply-To: <982f3816-cac3-49d3-837b-88cc25095dcf@pengutronix.de>

On Mon, Oct 26, 2026 at 8:57 AM Ahmad Fatoum <a.fatoum@pengutronix.de> wrote:
>
> Hello Martin,
>
> On 10/25/26 22:07, Martin Wege wrote:
> > Hello!
> >
> > Does barebox have support to mount a NFSv4.1/NFSv.2 filesystem?
>
> No, the barebox support is for NFSv3 over UDP. This does not prevent you
> from using NFSv4/TCP during kernel boot up for the rootfs however.
>
> We would like to support NFSv4 eventually, but given that the we had
> to fix a fair share of security issues with the current network stack
> and NFSv3 implementation, we should to try to avoid repeating this
> in future.
>
> Incidentally, I just created a PR for rust support in barebox:
> https://github.com/barebox/barebox/pull/96
>
> The goal is to add smoltcp as TCP/IP stack on top of it.
>
> Then we can look towards supporting TCP protocols like HTTP and NFSv4,
> but it will take a while.
>
> This may be the third time that someone asked for NFSv4 support on the
> mailing list and it would be useful to know how are you going to use it
> and where NFSv3/UDP falls short. Is this because you are using Linux
> kernel-nfs-server and NFSv3/UDP is not enabled by your distro or is it
> because of something else?

Four issues:
1. NIST2 requirements basically EXCLUDE NFSv2/NFSv3 over UDP
2. NFSv2 and to some extent NFSv3+NFSv4.0 are declared as "obsolete"
by IETF, which again is an issue for NIST2. The whole thing has been
"red flagged" by certification authorities now several times.
3. NFSv2/NFSv3 over UDP is FRAGILE like frozen glass in a volcano
4. NFSv4.1 has much better performance and features which would make
starting through a bigger initramfs faster. Example: You would prefer
that your glass cockpit in a plan reboots a bit faster if something
went wrong (power outage) mid-flight.

Thanks,
Martin



      reply	other threads:[~2026-10-26  9:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-25 21:07 Martin Wege
2026-10-26  7:57 ` Ahmad Fatoum
2026-10-26  8:41   ` Martin Wege [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANH4o6OSuDrwo5EYYtKL=W-96j9U1WtZ5XkHtJkgiQZriiegsA@mail.gmail.com' \
    --to=martin.l.wege@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox