[readonly/geninitrd/devel: 209/334] Use posix,wsize=8192,rsize=8192 options for NFS mounts.

draenog draenog at pld-linux.org
Sat Nov 2 19:29:06 CET 2013


commit cc64642a386217ca21b55f15654f848545e8f2e5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Jun 9 20:43:11 2004 +0000

    Use posix,wsize=8192,rsize=8192 options for NFS mounts.
    
    svn-id: @4159

 geninitrd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/geninitrd b/geninitrd
index 6104284..ba440ef 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1053,7 +1053,7 @@ if [ -n "\$router" ]; then
 fi
 if [ -n "\$rootpath" ]; then
     set -x
-    mount -n -t nfs -o ro,nolock,tcp \$rootpath /newroot
+    mount -n -t nfs -o ro,nolock,posix,tcp,wsize=8192,rsize=8192 \$rootpath /newroot
     set +x
 else
     set +x
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11



More information about the pld-cvs-commit mailing list