[PATCH] fs: nfs: Error if a port is unregistered

Jookia contact at jookia.org
Thu Feb 2 01:33:16 PST 2023


On Thu, Feb 02, 2023 at 08:39:48AM +0100, Sascha Hauer wrote:
> When this happens do we see a meaningful error message on the barebox
> side? From a feeling I would say -ECONNREFUSED might be a better error
> code, but I don't know if that's suitable for UDP connections.

Currently the error looks like this:

mounting failed with -110
ERROR: nfs nfs0: probe failed: Connection timed out
mount: Invalid argument
    probe-> nfs0
lookup mount port failed with -110
ERROR: nfs nfs0: probe failed: Connection timed out

Now it looks like:

lookup mount port failed with -2
ERROR: nfs nfs0: probe failed: No such file or directory
mount: Invalid argument
    probe-> nfs0

Not sure how this could be improved.

> Sascha

John.



More information about the barebox mailing list