summaryrefslogtreecommitdiffstats
path: root/testModule/hooks/pre-mount.sh
diff options
context:
space:
mode:
authorJonathan Bauer2015-04-14 17:58:50 +0200
committerJonathan Bauer2015-04-14 17:58:50 +0200
commite4c036d247389cfaeb3da8675ce53f53bef90afe (patch)
treeae1c87aeb940147cb258c4b540ad920880781ac0 /testModule/hooks/pre-mount.sh
parentstatic qemu-nbd (diff)
parentSome tries to fix kernel panic. (diff)
downloadsystemd-init-e4c036d247389cfaeb3da8675ce53f53bef90afe.tar.gz
systemd-init-e4c036d247389cfaeb3da8675ce53f53bef90afe.tar.xz
systemd-init-e4c036d247389cfaeb3da8675ce53f53bef90afe.zip
Merge branch 'master' of git.openslx.org:openslx-ng/systemd-init
Diffstat (limited to 'testModule/hooks/pre-mount.sh')
-rw-r--r--testModule/hooks/pre-mount.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/testModule/hooks/pre-mount.sh b/testModule/hooks/pre-mount.sh
new file mode 100644
index 00000000..7798622e
--- /dev/null
+++ b/testModule/hooks/pre-mount.sh
@@ -0,0 +1,10 @@
+# TODO
+warn '............START.............'
+
+insmod /usr/lib/modules/3.10.0-229.1.2.el7.x86_64/extra/dnbd3.ko
+local dnbd3_device_node="$(dnbd3-client -h 132.230.4.1 -i stage4/torben/test \
+ -r 1 -d /dev/dnbd0)"
+#qemu-img create -f qcow2 -o \
+# backing_file="$dnbd3_device_node",backing_fmt=qcow2 /test.qcow2
+#insmod /usr/lib/modules/3.10.0-229.1.2.el7.x86_64/extra/nbd.ko
+#systemd_preserve_process_marker qemu-nbd -c /dev/nbd0 /test.qcow2