From f3e90ff3d1524896d40fd9160bbf69cd4acd99c2 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sun, 19 Jul 2009 13:43:36 +0000 Subject: Updating several stage3 scripts, e.g. for the cifs mounting ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3019 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/stage3-stuff/etc/functions | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'initramfs/stage3-stuff/etc/functions') diff --git a/initramfs/stage3-stuff/etc/functions b/initramfs/stage3-stuff/etc/functions index 7eeb6d44..7731790c 100644 --- a/initramfs/stage3-stuff/etc/functions +++ b/initramfs/stage3-stuff/etc/functions @@ -145,7 +145,6 @@ case "${proto}" in # autodetected here ... (vmimgserv is blockdev here) vmbdev=/dev/${server} waitfor ${vmbdev} 20000 - echo -e "ext2\nreiserfs\nvfat\nxfs" >/etc/filesystems mount -o ro ${vmbdev} ${target} || error "$scfg_evmlm" nonfatal ;; nfs) @@ -160,8 +159,12 @@ case "${proto}" in done ;; smb|cifs) - mount -n -o ${mntopt},user=guest,guest,file_mode=0755,dir_mode=0755 \ - -t ${proto} //${server}${srcpath} ${target} + # for some reason cifs mounts cannot be pivoted :( + #mount -n -o ${mntopt},user=guest,guest,file_mode=0755,dir_mode=0755 \ + # -t ${proto} //${server}${srcpath} ${target} + d_mkrlscript entry boot.slx "uclibc-wrapper mount -n -o ${mntopt},guest,\ +user=guest,file_mode=0755,dir_mode=0755 -t ${proto} //${server}${srcpath} \ +${target#/mnt}" ;; esac } @@ -985,7 +988,7 @@ config_printer () { config_bt () { : } -# create a compliant runlevel script, needed for boot.slx and vmware-prep +# create a compliant runlevel script, needed for boot.slx d_mkrlscript () { : } -- cgit v1.2.3-55-g7522