summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/etc
diff options
context:
space:
mode:
authorDirk von Suchodoletz2007-05-08 23:03:37 +0200
committerDirk von Suchodoletz2007-05-08 23:03:37 +0200
commitf708735bedfefca9ded570128368988f4b577b30 (patch)
tree9ef1d3df286ddc2a8fad54d70734afb501e513aa /initramfs/initrd-stuff/etc
parentMoved stuff from vmware-prep to servconfig for simplifying the VMware (diff)
downloadcore-f708735bedfefca9ded570128368988f4b577b30.tar.gz
core-f708735bedfefca9ded570128368988f4b577b30.tar.xz
core-f708735bedfefca9ded570128368988f4b577b30.zip
Moved up device node creation - otherwise /dev/null would not be
available early enough. etc/vmware-prep is not needed any longer in stage3 (after testing of changes) ... git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1034 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/etc')
-rw-r--r--initramfs/initrd-stuff/etc/vmware-prep11
1 files changed, 7 insertions, 4 deletions
diff --git a/initramfs/initrd-stuff/etc/vmware-prep b/initramfs/initrd-stuff/etc/vmware-prep
index 2619db9a..b21cac27 100644
--- a/initramfs/initrd-stuff/etc/vmware-prep
+++ b/initramfs/initrd-stuff/etc/vmware-prep
@@ -28,12 +28,15 @@ vmdir=/var/lib/vmware
modprobe loop >/dev/null 2>&1
# device creation - the module does not trigger udev properly
-for i in 0 1 2 3 4 5 6 7 8 9; do
- [ -c /dev/vmnet${i} ] || mknod /dev/vmnet${i} c 119 ${i};
-done
-chmod 0700 /dev/vmnet*
+#for i in 0 1 2 3 4 5 6 7 8 9; do
+# [ -c /dev/vmnet${i} ] || mknod /dev/vmnet${i} c 119 ${i};
+#done
+#chmod 0700 /dev/vmnet*
# loop file for exchanging information between linux and vmware guest
+# other option to pass information!? --> move to servconfig!? problem
+# of DOS formatting ... possibility of using mkfs.dos out of later
+# rootfs (LD_LIBRARY_PATH=/mnt/lib
loopsrc=/etc/vmware/loopimg
loopdst=/etc/vmware/fd-loop
mkdir -p $loopsrc