On Fri, 6 Dec 2024 at 22:55, Roland Mainz <roland.mainz@xxxxxxxxxxx> wrote: > > Hi! > > ---- > > Below (also attached as > "0001-mount.nfs4-Add-support-for-nfs-URLs_v2.patch" and available at > https://nrubsig.kpaste.net/e8c5cb) is version 2 of the patch which > adds support for nfs://-URLs in mount.nfs4, as alternative to the > traditional hostname:/path+-o port=<tcp-port> notation. > > * Main advantages are: > - Single-line notation with the familiar URL syntax, which includes > hostname, path *AND* TCP port number (last one is a common generator > of *PAIN* with ISPs) in ONE string > - Support for non-ASCII mount points, e.g. paths with CJKV (Chinese, > Japanese, ...) characters, which is typically a big problem if you try > to transfer such mount point information across email/chat/clipboard > etc., which tends to mangle such characters to death (e.g. > transliteration, adding of ZWSP or just '?'). > - URL parameters are supported, providing support for future extensions > > * Notes: > - Similar support for nfs://-URLs exists in other NFSv4.* > implementations, including Illumos, Windows ms-nfs41-client, > sahlberg/libnfs, ... > - This is NOT about WebNFS, this is only to use an URL representation > to make the life of admins a LOT easier > - Only absolute paths are supported > - This feature will not be provided for NFSv3 > > * Patch version history: > - v2: > Added |setlocale()| for libc versions which need it > - v1: > Initial patch > > ---- snip ---- > From 767e1aa096bacd4dd600d46ccaaefbc47ba863bf Mon Sep 17 00:00:00 2001 > From: Roland Mainz <roland.mainz@xxxxxxxxxxx> > Date: Fri, 6 Dec 2024 15:22:23 +0100 > Subject: [PATCH] mount.nfs4: Add support for nfs://-URLs Looks good to me. Tested with French, including circonflexe, tréma, and EURO symbol ('€') For English-speaking users, please read https://www.alt-codes.net/french_alt_codes/ https://en.wikipedia.org/wiki/Circumflex_in_French https://en.wikipedia.org/wiki/French_orthography Reviewed-by: Cedric Blancher <cedric.blancher@xxxxxxxxx> Ced -- Cedric Blancher <cedric.blancher@xxxxxxxxx> [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur