Update of /cvsroot/devil-linux/build/config/etc/initrd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7110/config/etc/initrd
Modified Files:
linuxrc
Log Message:
hostname was missing (again)
more changes to get udev working
Index: linuxrc
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/initrd/linuxrc,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- linuxrc 20 Dec 2004 02:28:13 -0000 1.72
+++ linuxrc 21 Dec 2004 03:05:39 -0000 1.73
@@ -192,8 +192,6 @@
/sbin/udevstart
echo "/sbin/udev" > /proc/sys/kernel/hotplug
-/bin/sh
-
#echo "waiting until usb-storage driver has initialized all devices ..."
#sleep 10
@@ -351,14 +349,16 @@
# kill our klogd
kill `ps ax | grep klogd | cut -f 1 -d 0` 2> /dev/null
-# mount shared memory filesystem
+# create the devices we need
+mkdir -p /shm/dev/
+mknod /shm/dev/console c 5 1
+mknod /shm/dev/null c 1 3
+mknod /shm/dev/ram0 b 1 0
+
echo "Mounting SHM FS on /cdrom/shm"
mount -n -o bind /shm /cdrom/shm
umount /shm
-echo "Mounting DEV FS on /cdrom/dev"
-mount -n -t devfs none /cdrom/dev
-
# unmount usb
umount /proc/bus/usb
|