diff options
-rw-r--r-- | meta/recipes-core/udev/udev-extraconf/mount.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/udev/udev-extraconf/mount.sh b/meta/recipes-core/udev/udev-extraconf/mount.sh index 99c76b2530..97af608398 100644 --- a/meta/recipes-core/udev/udev-extraconf/mount.sh +++ b/meta/recipes-core/udev/udev-extraconf/mount.sh @@ -21,6 +21,11 @@ automount() { name="`basename "$DEVNAME"`" ! test -d "/media/$name" && mkdir -p "/media/$name" + # Silent util-linux's version of mounting auto + if [ "x`readlink $MOUNT`" = "x/bin/mount.util-linux" ] ; + then + MOUNT="$MOUNT -o silent" + fi if ! $MOUNT -t auto $DEVNAME "/media/$name" then |