diff options
author | Dirk von Suchodoletz | 2007-10-14 02:55:45 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2007-10-14 02:55:45 +0200 |
commit | f88180a0286334ec87f4c386e3aaf598b79c4223 (patch) | |
tree | dfde03972340fec380f497ce4122dd063acffc64 /initramfs | |
parent | Show that dubios *.vmem file (otherwise it is created too, but simply not (diff) | |
download | core-f88180a0286334ec87f4c386e3aaf598b79c4223.tar.gz core-f88180a0286334ec87f4c386e3aaf598b79c4223.tar.xz core-f88180a0286334ec87f4c386e3aaf598b79c4223.zip |
Proper mount options for NFS/scratch ... Skip some files for SUSE exports.
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1381 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs')
-rwxr-xr-x | initramfs/initrd-stuff/bin/servconfig | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/initramfs/initrd-stuff/bin/servconfig b/initramfs/initrd-stuff/bin/servconfig index 3bcf5e16..d26a4213 100755 --- a/initramfs/initrd-stuff/bin/servconfig +++ b/initramfs/initrd-stuff/bin/servconfig @@ -472,12 +472,14 @@ if [ -n "$scratch" -a -z "$tmpisdisk" ] ; then tmpserv=$(uri_token $scratch server) tmppath=$(uri_token $scratch path) # hanging mount processes might stop further setup - timeout - # should be configured ... - mount -t nfs -o rw,nolock,intr,nodev,soft,timeo=2,nosuid \ + # should be configured ... it is possible to mount "nolock" only + mount -t nfs -o rw,tcp,nolock,intr,nodev,soft,timeo=2,nosuid \ ${tmpserv}:${tmppath} /tmp/scratch >/dev/null 2>&1 && { - mkdir -p /tmp/scratch/${clientip} >/dev/null 2>&1 + testmkd /tmp/scratch/${clientip} umount /tmp/scratch - mount -t nfs -o rw,nolock,intr,nodev,soft,timeo=2,nosuid \ + # no need for tempfs there ... + umount /mnt/tmp >/dev/null 2>&1 + mount -t nfs -o rw,tcp,nolock,intr,nodev,soft,timeo=2,nosuid \ ${tmpserv}:${tmppath}/${clientip} /mnt/tmp >/dev/null 2>&1; } ;; esac |