summaryrefslogtreecommitdiffstats
path: root/tools/unionfs-run-init
diff options
context:
space:
mode:
authorOliver Tappe2008-08-29 11:14:19 +0200
committerOliver Tappe2008-08-29 11:14:19 +0200
commitc90f22e87e1bddf68a3f48e9954cc3b2e3f5dd18 (patch)
treea6ae1d24473ff80bf3e4ac5d24288e82ebd27fdf /tools/unionfs-run-init
parent* cleaned up name confusion of map, spotted by Sebastian (diff)
downloadcore-c90f22e87e1bddf68a3f48e9954cc3b2e3f5dd18.tar.gz
core-c90f22e87e1bddf68a3f48e9954cc3b2e3f5dd18.tar.xz
core-c90f22e87e1bddf68a3f48e9954cc3b2e3f5dd18.zip
* cleaned up tools folder
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2126 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'tools/unionfs-run-init')
-rw-r--r--tools/unionfs-run-init24
1 files changed, 0 insertions, 24 deletions
diff --git a/tools/unionfs-run-init b/tools/unionfs-run-init
deleted file mode 100644
index af09bf00..00000000
--- a/tools/unionfs-run-init
+++ /dev/null
@@ -1,24 +0,0 @@
-Fix fuer UnionFS auf /
-Nun gibts einfach eine Erweiterung fuer das Klibc-Tool run-init:
-
-klibc1.3
-usr/kinit/run-init/runinitlib.c
-
- /* Delete rootfs contents */
- if ( nuke_dir("/") )
- die("nuking initramfs contents");
-
- /* wild guess and try&error */
- if ( !lstat("/rorootfs", &rfs ) )
- if ( mount("/rorootfs", "/", NULL, MS_MOVE, NULL) )
- die("moving rorootfs");
-
- /* Overmount the root */
- if ( mount(".", "/", NULL, MS_MOVE, NULL) )
- die("overmounting root");
-
-und vor dem Movemount fuer das eigentliche Root noch ein Movemount auf das
-drunterliegende Rootfs ... Laengeres Rumprobieren und nun scheint es
-erstmal zu klappen. Zur Zeit checkt der einfach nur (bis ich das raus
-hatte :-)) ob ein "/rorootfs" da ist und verschiebt das dann. Wenn nicht,
-bleibts so wie vorher.