Displaying 6 results from an estimated 6 matches for "nfs_mount_nonlm".
2004 Aug 19
5
[PATCH] use reliable nfs mount options per default
...fast mount.
The defaults should look more like that:
--- nfsmount/main.c~ 2004-02-12 03:19:14.000000000 +0100
+++ nfsmount/main.c 2004-05-27 13:31:19.000000000 +0200
@@ -20,9 +20,9 @@ static char *progname;
static struct nfs_mount_data mount_data = {
.version = NFS_MOUNT_VERSION,
- .flags = NFS_MOUNT_NONLM,
- .rsize = 1024,
- .wsize = 1024,
+ .flags = NFS_MOUNT_NONLM | NFS_MOUNT_VER3 | NFS_MOUNT_TCP,
+ .rsize = 8192,
+ .wsize = 8192,
.timeo = 7,
.retrans = 3,
.acregmin = 3,
--
USB is for mice, FireWire is for men!
sUse lINUX ag, n?RNBERG
2006 Jun 26
0
[klibc 14/43] Remove in-kernel nfsroot code
...&= ~NFS_MOUNT_NOCTO;
- break;
- case Opt_nocto:
- nfs_data.flags |= NFS_MOUNT_NOCTO;
- break;
- case Opt_ac:
- nfs_data.flags &= ~NFS_MOUNT_NOAC;
- break;
- case Opt_noac:
- nfs_data.flags |= NFS_MOUNT_NOAC;
- break;
- case Opt_lock:
- nfs_data.flags &= ~NFS_MOUNT_NONLM;
- break;
- case Opt_nolock:
- nfs_data.flags |= NFS_MOUNT_NONLM;
- break;
- case Opt_v2:
- nfs_data.flags &= ~NFS_MOUNT_VER3;
- break;
- case Opt_v3:
- nfs_data.flags |= NFS_MOUNT_VER3;
- break;
- case Opt_udp:
- nfs_data.flags &= ~NFS_MOUNT_TCP;
- break;...
2019 Oct 07
0
[klibc:master] nfsmount: Use kernel client's default value for timeo option
.../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 = 7,
+ .timeo = 0, /* Kernel client's default */
.retrans = 3,
.acregmin = 3,
.acregmax = 60,
2005 May 22
1
[patch 11/12] Unpleasantness in linux/nfs_mount.h
...1 */
+#define NFS_MOUNT_SECURE 0x0004 /* 1 */
+#define NFS_MOUNT_POSIX 0x0008 /* 1 */
+#define NFS_MOUNT_NOCTO 0x0010 /* 1 */
+#define NFS_MOUNT_NOAC 0x0020 /* 1 */
+#define NFS_MOUNT_TCP 0x0040 /* 2 */
+#define NFS_MOUNT_VER3 0x0080 /* 3 */
+#define NFS_MOUNT_KERBEROS 0x0100 /* 3 */
+#define NFS_MOUNT_NONLM 0x0200 /* 3 */
+#define NFS_MOUNT_BROKEN_SUID 0x0400 /* 4 */
+#define NFS_MOUNT_STRICTLOCK 0x1000 /* reserved for NFSv4 */
+#define NFS_MOUNT_SECFLAVOUR 0x2000 /* 5 */
+#define NFS_MOUNT_FLAGMASK 0xFFFF
extern __u32 nfs_port;
--
2008 Mar 25
2
bunch of small fixes
hello hpa,
nothing particular stands out,
just syncing with latest Debian upload and subsequent patch emails.
please review merge or nack.
thanks :)
maks
git pull git://git.debian.org/~maks/klibc.git maks
for the changes:
Aaron Griffin (1):
[klibc] kinit: skip md assembly if mdX exists
Colin Watson (1):
[klibc] mount/umount FUSE support
Harald Jenny (1):
[klibc] fstype:
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
...OSIX, NFS_MOUNT_POSIX },
- { "noposix", ~NFS_MOUNT_POSIX, 0 },
- { "cto", ~NFS_MOUNT_NOCTO, 0 },
- { "nocto", ~NFS_MOUNT_NOCTO, NFS_MOUNT_NOCTO },
- { "ac", ~NFS_MOUNT_NOAC, 0 },
- { "noac", ~NFS_MOUNT_NOAC, NFS_MOUNT_NOAC },
- { "lock", ~NFS_MOUNT_NONLM, 0 },
- { "nolock", ~NFS_MOUNT_NONLM, NFS_MOUNT_NONLM },
-#ifdef CONFIG_NFS_V3
- { "v2", ~NFS_MOUNT_VER3, 0 },
- { "v3", ~NFS_MOUNT_VER3, NFS_MOUNT_VER3 },
-#endif
- { "udp", ~NFS_MOUNT_TCP, 0 },
- { "tcp", ~NFS_MOUNT_TCP, NFS_MOUNT_TCP },
- { &...