Author: baggins                      Date: Fri Mar  2 22:42:24 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- mount devtmpfs not tmpfs over /dev if not already mounted

---- Files affected:
packages/udev:
   start_udev (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: packages/udev/start_udev
diff -u packages/udev/start_udev:1.40 packages/udev/start_udev:1.41
--- packages/udev/start_udev:1.40       Sat Dec  3 17:04:48 2011
+++ packages/udev/start_udev    Fri Mar  2 23:42:19 2012
@@ -68,8 +68,8 @@
 show "Starting udev"
 busy
 
-# mount the tmpfs on ${udev_root%/}, if not already done
-LANG=C awk "\$2 == \"${udev_root%/}\" && \$3 == \"tmpfs\" { exit 1 }" 
/proc/mounts && {
+# mount the devtmpfs on ${udev_root%/}, if not already done
+LANG=C awk "\$2 == \"${udev_root%/}\" && \$3 == \"devtmpfs\" { exit 1 }" 
/proc/mounts && {
        if LANG=C fgrep -q "none ${udev_root%/}/pts " /proc/mounts; then
                PTSDIR=$(mktemp -d ${TMPDIR:-/tmp}/tmpXXXXXX)
                mount --move $udev_root/pts "$PTSDIR"
@@ -78,7 +78,7 @@
                SHMDIR=$(mktemp -d ${TMPDIR:-/tmp}/tmpXXXXXX)
                mount --move $udev_root/shm "$SHMDIR"
        fi
-       mount -n -o mode=0755 -t tmpfs none "$udev_root"
+       mount -n -o mode=0755 -t devtmpfs devtmpfs "$udev_root"
        mkdir -m 0755 $udev_root/pts
        mkdir -m 0755 $udev_root/shm
        if [ -n "$PTSDIR" ]; then
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/udev/start_udev?r1=1.40&r2=1.41&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to