summaryrefslogtreecommitdiffstats
path: root/initrd/initrd-stuff/init
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-05-10 18:46:18 +0200
committerDirk von Suchodoletz2006-05-10 18:46:18 +0200
commit5e67dfbd6717a9de7bf5027d53ee4df11461c5bd (patch)
tree4b3fa3a1e3e588259983745988a4cfcb2b62a50a /initrd/initrd-stuff/init
parentdefaultwm: start defaultwm in kdm when no wm or vmimage chosen, lists (diff)
downloadcore-5e67dfbd6717a9de7bf5027d53ee4df11461c5bd.tar.gz
core-5e67dfbd6717a9de7bf5027d53ee4df11461c5bd.tar.xz
core-5e67dfbd6717a9de7bf5027d53ee4df11461c5bd.zip
fix for debuglevel in ld4-inst, kdmrc in functions-9.3, ...
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@209 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff/init')
-rwxr-xr-xinitrd/initrd-stuff/init10
1 files changed, 7 insertions, 3 deletions
diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init
index fabda00f..874792f7 100755
--- a/initrd/initrd-stuff/init
+++ b/initrd/initrd-stuff/init
@@ -2,7 +2,7 @@
# Description: main script for new type of initial ramdisk for
# linux diskless clients version 4
#
-# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 01-05-2006
+# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 10-05-2006
#
# Copyright: (c) 2006 - RZ Universitaet Freiburg
#
@@ -425,8 +425,12 @@ proc\t\t/proc\t\tproc\t\tdefaults\t 0 0\ninitramdevs\t/dev\t\ttmpfs\
\t\trw\t\t 0 0\ndevpts\t\t/dev/pts\tdevpts\t\tmode=0620,gid=5\t 0 0\n\
usbfs\t\t/proc/bus/usb\tusbfs\t\tnoauto\t\t 0 0" >>/mnt/etc/fstab || \
error "$init_fstab"
-echo -e "rootfs / rootfs rw 0 0" > /mnt/etc/mtab
-
+echo -e "rootfs / rootfs rw 0 0\ninitramdevs /dev tmpfs rw\
+ 0 0" > /mnt/etc/mtab
+[ -z "$UNIONFS" ] && echo -e "ramfs /tmp tmpfs rw 0 0\nramfs /root\
+tmpfs rw 0 0\nramfs /media tmpfs rw 0 0 \nramfs /home tmpfs rw 0 0" \
+ > /mnt/etc/mtab
+
# copy library cache if generated
if [ -z "${NOLDSC}" ] ; then
if waitfor /tmp/ldcfg 50000 ; then