diff options
author | Dirk von Suchodoletz | 2007-05-02 16:28:35 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2007-05-02 16:28:35 +0200 |
commit | e2ec6a20993b90fe11207abfcce497cf6be91fab (patch) | |
tree | 3f7752355950cc5124fdbb7e0423627efc888b66 /initramfs/initrd-stuff/bin/hwautocfg | |
parent | Strange problem (SuSE(?)/hardware related - not completely understood), (diff) | |
download | core-e2ec6a20993b90fe11207abfcce497cf6be91fab.tar.gz core-e2ec6a20993b90fe11207abfcce497cf6be91fab.tar.xz core-e2ec6a20993b90fe11207abfcce497cf6be91fab.zip |
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
Diffstat (limited to 'initramfs/initrd-stuff/bin/hwautocfg')
-rwxr-xr-x | initramfs/initrd-stuff/bin/hwautocfg | 4 |
1 files changed, 2 insertions, 2 deletions
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 |