mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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) (From OE-Core rev: 44c102386c9bca17743d2edd1f94d4071974204d) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e7d4eba0a9
commit
b4bb378261
@@ -23,7 +23,7 @@ automount() {
|
|||||||
|
|
||||||
! test -d "/media/$name" && mkdir -p "/media/$name"
|
! 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
|
then
|
||||||
#logger "mount.sh/automount" "$MOUNT -t auto $DEVNAME \"/media/$name\" failed!"
|
#logger "mount.sh/automount" "$MOUNT -t auto $DEVNAME \"/media/$name\" failed!"
|
||||||
rm_dir "/media/$name"
|
rm_dir "/media/$name"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
include udev.inc
|
include udev.inc
|
||||||
|
|
||||||
PR = "r13"
|
PR = "r14"
|
||||||
|
|
||||||
SRC_URI += "file://udev-166-v4l1-1.patch"
|
SRC_URI += "file://udev-166-v4l1-1.patch"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user