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 | |
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')
-rwxr-xr-x | initramfs/initrd-stuff/bin/hwautocfg | 2 | ||||
-rw-r--r-- | initramfs/initrd-stuff/etc/functions | 2 |
2 files changed, 2 insertions, 2 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 || \ diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions index b01884f4..5e2157e1 100644 --- a/initramfs/initrd-stuff/etc/functions +++ b/initramfs/initrd-stuff/etc/functions @@ -29,7 +29,7 @@ postinit () { config_distro () { : } -# udev/hotplug - auto device discovery service +# udev/hotplug - auto device discovery service (deprecated) udev_hotplug () { : } |