From db19f2ca18514f3dbb1e6e120e32289502b1e098 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sat, 1 Mar 2008 00:24:56 +0000 Subject: Improved version of CD preboot test with RootFS type to choose ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1589 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'initramfs/initrd-stuff/init') diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init index a6979800..6eaa3538 100755 --- a/initramfs/initrd-stuff/init +++ b/initramfs/initrd-stuff/init @@ -466,7 +466,7 @@ if [ -n "${bldmod}" ] ; then # quickhack, should be read in from URI echo 1 > /sys/block/vnbd0/config/vid echo 1 > /sys/block/vnbd0/config/rid - echo noop > /sys/block/vnbd0/queue/scheduler + echo deadline > /sys/block/vnbd0/queue/scheduler i=0 while [ $(cat /sys/block/vnbd0/config/running) != 1 ] ; do echo 1 > /sys/block/vnbd0/config/running @@ -476,7 +476,7 @@ if [ -n "${bldmod}" ] ; then error "$init_dnbd2s"; break fi done - # echo "0" > /sys/block/vnbd0/queue/read_ahead_kb + # echo "256" > /sys/block/vnbd0/queue/read_ahead_kb ;; # dnbd by Thorsten Zitterell dnbd) -- cgit v1.2.3-55-g7522