Update of /cvsroot/devil-linux/build/config/etc/initrd
In directory sc8-pr-cvs1:/tmp/cvs-serv16964/config/etc/initrd
Modified Files:
linuxrc
Log Message:
- added kernel 2.6.1 to build sytem (requires ext2 as initrd fs)
- menuconfig now has an option to select the initrd filesystem
Index: linuxrc
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/initrd/linuxrc,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- linuxrc 8 Jan 2004 01:09:48 -0000 1.53
+++ linuxrc 12 Jan 2004 20:51:03 -0000 1.54
@@ -60,9 +60,13 @@
# mount proc
mount -n -t proc none /proc
+echo "******************"
+echo Kernel $(uname -r)
+echo "******************"
+
# mount shared memory filesystem with a limit of 40GB (for now)
echo "Mounting SHM FS on /shm"
-mount -n -t shm shmfs /shm
+mount -n -t shm shmfs /shm 2> /dev/null || mount -n -t tmpfs none /shm
# get rid of modprobe warnings
mkdir -p /shm/etc
|