summaryrefslogtreecommitdiffstats
path: root/initrd/initrd-stuff/init
diff options
context:
space:
mode:
Diffstat (limited to 'initrd/initrd-stuff/init')
-rwxr-xr-xinitrd/initrd-stuff/init6
1 files changed, 3 insertions, 3 deletions
diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init
index d51c26ca..a17fe98b 100755
--- a/initrd/initrd-stuff/init
+++ b/initrd/initrd-stuff/init
@@ -227,10 +227,10 @@ the network block device client. Unable to mount root\n filesystem."
;;
# dnbd by Thorsten Zitterell
dnbd)
- #mkdir /dnbd
- #mount -n -t tmpfs tmpfs /dnbd
+ mkdir /dnbd
+ mount -n -o 'size=10%' -t tmpfs tmpfs /dnbd
waitfor /dev/dnbd0 10000 || error $errmsg
- while ! dnbd-client -b $dnbdhost -d /dev/dnbd0; do # -c /dnbd/cache
+ while ! dnbd-client -b $nbdhost -d /dev/dnbd0 -c /dnbd/cache; do
usleep 10
done
echo $?