On Sat, 2013-04-13 at 00:28 -0700, Saul Wold wrote:
> This will silence some of the noisy output from mount.util-linux and the
> kernel
> when trying to automount filesystems or devices. Busybox does not accept the
> silent
> option, it uses a "loud" option instead.
>
> [YOCTO #3935]
>
> Signed-off-by: Saul Wold <[email protected]>
> ---
> meta/recipes-core/udev/udev-extraconf/mount.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
As far as I can see this will break with busybox mount. Is there a 2/2
missing?
> diff --git a/meta/recipes-core/udev/udev-extraconf/mount.sh
> b/meta/recipes-core/udev/udev-extraconf/mount.sh
> index 99c76b2..7b58361 100644
> --- a/meta/recipes-core/udev/udev-extraconf/mount.sh
> +++ b/meta/recipes-core/udev/udev-extraconf/mount.sh
> @@ -22,7 +22,7 @@ automount() {
>
> ! test -d "/media/$name" && mkdir -p "/media/$name"
>
> - if ! $MOUNT -t auto $DEVNAME "/media/$name"
> + if ! $MOUNT -o silent -t auto $DEVNAME "/media/$name"
> then
> #logger "mount.sh/automount" "$MOUNT -t auto $DEVNAME
> \"/media/$name\" failed!"
> rm_dir "/media/$name"
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core