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

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?

Cheers,
Ahmad

> 
> Thanks,
> Martin
> 


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



  reply	other threads:[~2026-10-26  7:58 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 [this message]
2026-10-26  8:41   ` Martin Wege

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=982f3816-cac3-49d3-837b-88cc25095dcf@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=martin.l.wege@gmail.com \
    /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