diff options
| author | Dirk von Suchodoletz | 2007-05-06 00:50:24 +0200 |
|---|---|---|
| committer | Dirk von Suchodoletz | 2007-05-06 00:50:24 +0200 |
| commit | 01bcfb0c22a98d3744e848ce581050f527dc9f03 (patch) | |
| tree | 1e969b96c8f12e2a7411955d691e587896f551f2 /initramfs/initrd-stuff/bin | |
| parent | * added option -S to mkdxsinitrd in order to pass in the system name (diff) | |
| download | core-01bcfb0c22a98d3744e848ce581050f527dc9f03.tar.gz core-01bcfb0c22a98d3744e848ce581050f527dc9f03.tar.xz core-01bcfb0c22a98d3744e848ce581050f527dc9f03.zip | |
It might be more convenient to use the mkfs.ext2 out of rootfilesystem
than copying it into initramfs (unless available via busybox again) ...
(Same principle is used for ldconfig already)
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1008 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/bin')
| -rwxr-xr-x | initramfs/initrd-stuff/bin/hwautocfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs/initrd-stuff/bin/hwautocfg b/initramfs/initrd-stuff/bin/hwautocfg index 0e7e88b0..a9c4cebc 100755 --- a/initramfs/initrd-stuff/bin/hwautocfg +++ b/initramfs/initrd-stuff/bin/hwautocfg @@ -414,7 +414,7 @@ for hd in $(cat /tmp/hwsetup.info|sed -n -e '/HD$/,/device:/p'| \ for hdpartnr in $(cat /tmp/hd_part | \ sed -n -e "/ 44 /p"|sed -e "s/[[:space:]].*//") ; do # ext2fs_check_if_mount message supressed - ( mkfs.ext2 -Fq $hdpartnr 2>/dev/null + ( LD_LIBRARY_PATH=/mnt/lib /mnt/sbin/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 -t ext2 -n -o nocheck,noexec $hdpartnr /mnt/tmp 2>/dev/null || \ |
