diff options
-rw-r--r-- | meta/recipes-core/udev/udev/init | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-core/udev/udev/init b/meta/recipes-core/udev/udev/init index cd87f50832..10f9d1a25e 100644 --- a/meta/recipes-core/udev/udev/init +++ b/meta/recipes-core/udev/udev/init | |||
@@ -43,9 +43,9 @@ case "$1" in | |||
43 | echo "Halting..." | 43 | echo "Halting..." |
44 | halt | 44 | halt |
45 | fi | 45 | fi |
46 | # mount the tmpfs on /dev, if not already done | 46 | # mount the devtmpfs on /dev, if not already done |
47 | LANG=C awk '$2 == "/dev" && ($3 == "tmpfs" || $3 == "devtmpfs") { exit 1 }' /proc/mounts && { | 47 | LANG=C awk '$2 == "/dev" && ($3 == "devtmpfs") { exit 1 }' /proc/mounts && { |
48 | mount -n -o mode=0755 -t tmpfs none "/dev" | 48 | mount -n -o mode=0755 -t devtmpfs none "/dev" |
49 | } | 49 | } |
50 | [ -e /dev/pts ] || mkdir -m 0755 /dev/pts | 50 | [ -e /dev/pts ] || mkdir -m 0755 /dev/pts |
51 | [ -e /dev/shm ] || mkdir -m 1777 /dev/shm | 51 | [ -e /dev/shm ] || mkdir -m 1777 /dev/shm |