[prev in list] [next in list] [prev in thread] [next in thread]
List: ipcop-svn
Subject: [Ipcop-svn] SF.net SVN: ipcop:[2131] ipcop/trunk
From: owes () users ! sourceforge ! net
Date: 2008-11-29 9:32:18
Message-ID: E1L6MBW-000889-U7 () c3vjzd1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 2131
http://ipcop.svn.sourceforge.net/ipcop/?rev=2131&view=rev
Author: owes
Date: 2008-11-29 09:32:18 +0000 (Sat, 29 Nov 2008)
Log Message:
-----------
Also move /dev from initramfs to real filesystem.
Modified Paths:
--------------
ipcop/trunk/config/install/init
ipcop/trunk/src/rc.d/rc.sysinit
Modified: ipcop/trunk/config/install/init
===================================================================
--- ipcop/trunk/config/install/init 2008-11-29 09:23:49 UTC (rev 2130)
+++ ipcop/trunk/config/install/init 2008-11-29 09:32:18 UTC (rev 2131)
@@ -85,6 +85,10 @@
mount -n -o move /proc /harddisk/proc
echo "Done"
+ echo -ne "Move dev over to the real filesystem ... "
+ mount -n -o move /dev /harddisk/dev
+ echo "Done"
+
echo "Now switching root ... "
exec switch_root /harddisk ${INIT}
}
Modified: ipcop/trunk/src/rc.d/rc.sysinit
===================================================================
--- ipcop/trunk/src/rc.d/rc.sysinit 2008-11-29 09:23:49 UTC (rev 2130)
+++ ipcop/trunk/src/rc.d/rc.sysinit 2008-11-29 09:32:18 UTC (rev 2131)
@@ -68,25 +68,16 @@
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
-echo "Mounting dev"
-/bin/mount -n -t tmpfs tmpfs /dev -o mode=755
+# /dev, /proc and /sys are mount moved from initramfs
+# so no more need to mount them here
# Start udev
echo "Starting udev"
-# Udev handles uevents itself, so we don't need to have
-# the kernel call out to any binary in response to them
-echo > /proc/sys/kernel/hotplug
-
-# Copy static device nodes to /dev
-cp -a /lib/udev/devices/* /dev
-
-# Start the udev daemon to continually watch for, and act on,
-# uevents
+# Start the udev daemon to continually watch for, and act on, uevents
/sbin/udevd --daemon
-# Now traverse /sys in order to "coldplug" devices that have
-# already been discovered
+# Now traverse /sys in order to "coldplug" devices that have already been discovered
/sbin/udevadm trigger
# Now wait for udevd to process the uevents we triggered
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic