[readonly/geninitrd/devel: 244/334] Really mount/umount /proc for udev.

draenog draenog at pld-linux.org
Sat Nov 2 19:32:03 CET 2013


commit b161812eba8c7dda5923300980ec156ea392aa95
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Sep 25 22:41:58 2004 +0000

    Really mount/umount /proc for udev.
    
    svn-id: @4658

 geninitrd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 3993b88..b37106c 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1078,11 +1078,11 @@ mkdir /dev/shm
 EOF
 		fi
 		cat >> "$s" << EOF
-echo "mount -t proc none /proc"
+mount -t proc none /proc
 echo Starting udev
 /sbin/udevstart
 echo -n "/sbin/hotplug" > /proc/sys/kernel/hotplug
-echo "umount /proc"
+umount /proc
 EOF
 	fi
 }
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/398807324938659207036e520c0950a61ef50c11



More information about the pld-cvs-commit mailing list