From: Jesse Zhang <sen.zhang@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Cc: koen@dominion.thruhere.net
Subject: [PATCH v2] udev: don't mount with -o sync
Date: Wed, 4 Jul 2012 10:03:13 +0800 [thread overview]
Message-ID: <1341367393-1464-1-git-send-email-sen.zhang@windriver.com> (raw)
In-Reply-To: <A0120681-E39C-44BA-9487-C3C2EAD91307@dominion.thruhere.net>
mount.sh mounts all partitions with -o sync, which is bad for system
performance.
Signed-off-by: Jesse Zhang <sen.zhang@windriver.com>
---
Bump PR.
meta/recipes-core/udev/udev/mount.sh | 2 +-
meta/recipes-core/udev/udev_164.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/udev/udev/mount.sh b/meta/recipes-core/udev/udev/mount.sh
index 53fefa3..c13b8bb 100644
--- a/meta/recipes-core/udev/udev/mount.sh
+++ b/meta/recipes-core/udev/udev/mount.sh
@@ -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"
diff --git a/meta/recipes-core/udev/udev_164.bb b/meta/recipes-core/udev/udev_164.bb
index c5813ec..0462ff2 100644
--- a/meta/recipes-core/udev/udev_164.bb
+++ b/meta/recipes-core/udev/udev_164.bb
@@ -1,6 +1,6 @@
include udev.inc
-PR = "r13"
+PR = "r14"
SRC_URI += "file://udev-166-v4l1-1.patch"
--
1.7.10.4
next prev parent reply other threads:[~2012-07-04 2:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-03 8:49 [PATCH] udev: don't mount with -o sync Jesse Zhang
2012-07-03 10:41 ` Koen Kooi
2012-07-04 2:00 ` Jesse Zhang
2012-07-04 2:03 ` Jesse Zhang [this message]
2012-07-17 16:53 ` Saul Wold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1341367393-1464-1-git-send-email-sen.zhang@windriver.com \
--to=sen.zhang@windriver.com \
--cc=koen@dominion.thruhere.net \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox