diff options
author | Stanislav Brabec <sbrabec@suse.cz> | 2010-07-24 15:39:52 +0200 |
---|---|---|
committer | Stanislav Brabec <sbrabec@suse.cz> | 2010-07-24 15:39:52 +0200 |
commit | efc1b721a617a3a895bc4c1ff17d02258e5458e2 (patch) | |
tree | b871f4f00784e13d64ef9065792b7b683b13f342 /recipes/udev/udev-154 | |
parent | bf242510ce91aef3472a1ac4521410a867ea0964 (diff) |
udev: Fix possible multiple mounting of /dev, increment PR.
* http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-July/021663.html
Signed-off-by: Stanislav Brabec <utx@penguin.cz>
Acked-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'recipes/udev/udev-154')
-rw-r--r-- | recipes/udev/udev-154/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/udev/udev-154/init b/recipes/udev/udev-154/init index f4dc5de2f5..fea2ca66ee 100644 --- a/recipes/udev/udev-154/init +++ b/recipes/udev/udev-154/init @@ -29,7 +29,7 @@ export ACTION=add echo "Starting udev" # mount the tmpfs on /dev, if not already done -LANG=C awk "\$2 == \"/dev\" && \$4 == \"tmpfs\" { exit 1 }" /proc/mounts && { +LANG=C awk "\$2 == \"/dev\" && \$3 == \"tmpfs\" { exit 1 }" /proc/mounts && { mount -n -o mode=0755 -t tmpfs none "/dev" mkdir -m 0755 /dev/pts mkdir -m 1777 /dev/shm |