Displaying 2 results from an estimated 2 matches for "cca9e4ec".
2017 Sep 14
0
[PATCH] nfsmount: support nfsvers= and vers= options
...ing nfs mount ... nfsmount: bad option 'nfsvers'
Signed-off-by: Baptiste Jonglez <baptiste.jonglez at imag.fr>
---
usr/kinit/nfsmount/main.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/usr/kinit/nfsmount/main.c b/usr/kinit/nfsmount/main.c
index 36b29a5f..cca9e4ec 100644
--- a/usr/kinit/nfsmount/main.c
+++ b/usr/kinit/nfsmount/main.c
@@ -36,12 +36,15 @@ static struct nfs_mount_data mount_data = {
};
int nfs_port;
+int nfs_version;
static struct int_opts {
char *name;
int *val;
} int_opts[] = {
{"port", &nfs_port},
+ {"nfsvers...
2019 Oct 07
0
[klibc:master] nfsmount: Use kernel client's default value for timeo option
...;
References: https://lists.zytor.com/archives/klibc/2019-September/004233.html
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/kinit/nfsmount/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/kinit/nfsmount/main.c b/usr/kinit/nfsmount/main.c
index cca9e4ec..66969f42 100644
--- a/usr/kinit/nfsmount/main.c
+++ b/usr/kinit/nfsmount/main.c
@@ -26,7 +26,7 @@ static struct nfs_mount_data mount_data = {
.flags = NFS_MOUNT_NONLM | NFS_MOUNT_VER3 | NFS_MOUNT_TCP,
.rsize = 0, /* Server's choice */
.wsize = 0, /* Server's choice */
- .timeo =...