udev: don't mount with -o sync

mount.sh mounts all partitions with -o sync, which is bad for system
performance.

(From OE-Core rev: d49cf73754150b50a911d326aaa666f5da78855c)

Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jesse Zhang 2012-07-04 10:03:13 +08:00 committed by Richard Purdie
parent 219a855f99
commit 9eea1ebe3e
2 changed files with 2 additions and 2 deletions

View 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"

View File

@ -1,6 +1,6 @@
include udev.inc
PR = "r14"
PR = "r15"
SRC_URI += "file://udev-166-v4l1-1.patch \
file://include_resource.patch \