From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dan.rpsys.net ([93.97.175.187]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1UQxwX-0007er-Jh for openembedded-core@lists.openembedded.org; Sat, 13 Apr 2013 12:44:44 +0200 Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id r3DAQtfr002580; Sat, 13 Apr 2013 11:26:55 +0100 X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0AvkehwIkPy2; Sat, 13 Apr 2013 11:26:55 +0100 (BST) Received: from [192.168.3.10] (rpvlan0 [192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id r3DAQo8c002572 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Sat, 13 Apr 2013 11:26:53 +0100 Message-ID: <1365848798.16702.75.camel@ted> From: Richard Purdie To: Saul Wold Date: Sat, 13 Apr 2013 11:26:38 +0100 In-Reply-To: <1365838096-11843-1-git-send-email-sgw@linux.intel.com> References: <1365838096-11843-1-git-send-email-sgw@linux.intel.com> X-Mailer: Evolution 3.6.2-0ubuntu0.1 Mime-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH 1/2] udev-extraconf: Add -o silent to auto mount for mount.util-linux X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Apr 2013 10:44:56 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 > --- > 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"