From e2ec6a20993b90fe11207abfcce497cf6be91fab Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 2 May 2007 14:28:35 +0000 Subject: Filesystemtype is needed for busybox mount (ext2 to /mnt/tmp) ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@986 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/bin/hwautocfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'initramfs/initrd-stuff') diff --git a/initramfs/initrd-stuff/bin/hwautocfg b/initramfs/initrd-stuff/bin/hwautocfg index 1d3381a1..0e7e88b0 100755 --- a/initramfs/initrd-stuff/bin/hwautocfg +++ b/initramfs/initrd-stuff/bin/hwautocfg @@ -417,9 +417,9 @@ for hd in $(cat /tmp/hwsetup.info|sed -n -e '/HD$/,/device:/p'| \ ( mkfs.ext2 -Fq $hdpartnr 2>/dev/null umount /mnt/tmp 2>/dev/null # if mounting of temp partion fails fall back to tmpfs on /tmp - mount -n -o nocheck,noexec $hdpartnr /mnt/tmp 2>/dev/null || \ + mount -t ext2 -n -o nocheck,noexec $hdpartnr /mnt/tmp 2>/dev/null || \ mount -n -t tmpfs none /mnt/tmp - echo "$hdpartnr is mounted to /tmp at $(sysup)" > /tmp/tmpready ) & + echo "$hdpartnr is mounted to /mnt/tmp at $(sysup)" > /tmp/tmpready ) & echo -e "$hdpartnr\t/tmp\t\text2\t\tdefaults\t 0 0" >> /tmp/fstab part44=yes break -- cgit v1.2.3-55-g7522