Displaying 5 results from an estimated 5 matches for "nfs_mount_version".
2004 Aug 19
5
[PATCH] use reliable nfs mount options per default
...yone else prefers probably the 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
2009 Aug 21
2
anaconda and x86_64
...c/redhat/SOURCES/anaconda-11.1.2.168.tar.bz2
+ tar -xf -
...
for d in isys wlite stubs loader2 po textw utils scripts bootdisk installclasses iw pixmaps isomd5sum command-stubs ui fonts; do make -C $d depend; done
make[1]: Entering directory `/usr/src/redhat/BUILD/anaconda-11.1.2.168/isys'
grep NFS_MOUNT_VERSION /usr/include/linux/nfs_mount.h | sed -e 's/NFS/KERNEL_NFS/' > nfs_mountversion.h
Package libdhcp6client was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdhcp6client.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libdhcp6cl...
2005 May 22
1
[patch 11/12] Unpleasantness in linux/nfs_mount.h
...ange the order of these fields. If
+ * a new field is required then add it to the end. The version field
+ * tracks which fields are present. This will ensure some measure of
+ * mount-to-kernel version compatibility. Some of these aren't used yet
+ * but here they are anyway.
*/
+#define NFS_MOUNT_VERSION 5
+
+struct nfs_mount_data {
+ int version; /* 1 */
+ int fd; /* 1 */
+ struct nfs2_fh old_root; /* 1 */
+ int flags; /* 1 */
+ int rsize; /* 1 */
+ int wsize; /* 1 */
+ int timeo; /* 1 */
+ int retrans; /* 1 */
+ int acregmin; /* 1 */
+ int acregmax; /* 1 */
+ int acdirmin...
2006 Jun 26
0
[klibc 14/43] Remove in-kernel nfsroot code
...*
- * Prepare the NFS data structure and parse all options.
- */
-static int __init root_nfs_name(char *name)
-{
- static char buf[NFS_MAXPATHLEN] __initdata;
- char *cp;
-
- /* Set some default values */
- memset(&nfs_data, 0, sizeof(nfs_data));
- nfs_port = -1;
- nfs_data.version = NFS_MOUNT_VERSION;
- nfs_data.flags = NFS_MOUNT_NONLM; /* No lockd in nfs root yet */
- nfs_data.rsize = NFS_DEF_FILE_IO_SIZE;
- nfs_data.wsize = NFS_DEF_FILE_IO_SIZE;
- nfs_data.acregmin = 3;
- nfs_data.acregmax = 60;
- nfs_data.acdirmin = 30;
- nfs_data.acdirmax = 60;
- strcpy(buf, NFS_ROOT);
-
- /* Proce...
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
...= 0;
- }
-}
-
-
-/*
- * Prepare the NFS data structure and parse all options.
- */
-static int __init root_nfs_name(char *name)
-{
- char buf[NFS_MAXPATHLEN];
- char *cp;
-
- /* Set some default values */
- memset(&nfs_data, 0, sizeof(nfs_data));
- nfs_port = -1;
- nfs_data.version = NFS_MOUNT_VERSION;
- nfs_data.flags = NFS_MOUNT_NONLM; /* No lockd in nfs root yet */
- nfs_data.rsize = NFS_DEF_FILE_IO_BUFFER_SIZE;
- nfs_data.wsize = NFS_DEF_FILE_IO_BUFFER_SIZE;
- nfs_data.bsize = 0;
- nfs_data.timeo = 7;
- nfs_data.retrans = 3;
- nfs_data.acregmin = 3;
- nfs_data.acregmax = 60;
-...