]> code.ossystems Code Review - openembedded-core.git/commitdiff
udev: don't mount with -o sync
authorJesse Zhang <sen.zhang@windriver.com>
Wed, 4 Jul 2012 02:03:13 +0000 (10:03 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Jul 2012 12:11:35 +0000 (13:11 +0100)
mount.sh mounts all partitions with -o sync, which is bad for system
performance.

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/udev/udev/mount.sh
meta/recipes-core/udev/udev_164.bb

index 53fefa368103ce00cfee32a37125344f6895f3e3..c13b8bbb3be4fce111853d318ffc9c34c427ffb3 100644 (file)
@@ -23,7 +23,7 @@ automount() {
 
        ! test -d "/media/$name" && mkdir -p "/media/$name"
        
-       if ! $MOUNT -t auto -o sync $DEVNAME "/media/$name"
+       if ! $MOUNT -t auto $DEVNAME "/media/$name"
        then
                #logger "mount.sh/automount" "$MOUNT -t auto $DEVNAME \"/media/$name\" failed!"
                rm_dir "/media/$name"
index 2a8dd83b6f34ff36e679167d77334ba929d27a3e..6aa5599003fe390cb545e1becf2837587f6eda23 100644 (file)
@@ -1,6 +1,6 @@
 include udev.inc
 
-PR = "r14"
+PR = "r15"
 
 SRC_URI += "file://udev-166-v4l1-1.patch \
             file://include_resource.patch \