Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH v2] udev/mount.sh: use lazy umount
Date: Wed, 23 Jun 2010 09:51:21 +0200	[thread overview]
Message-ID: <hvsedp$kjb$1@dough.gmane.org> (raw)
In-Reply-To: <1277273473-17376-1-git-send-email-sledz@dresearch.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23-06-10 08:11, Steffen Sledz wrote:
> * umount will fail if there are processes accessing files at the
>   device, use lazy umount to avoid this problem
> 
> Signed-off-by: Steffen Sledz <sledz@dresearch.de>

Looks good to me:

Acked-by: Koen Kooi <koen@openembedded.org>

> ---
>  recipes/udev/files/mount.sh        |    2 +-
>  recipes/udev/files/slugos/mount.sh |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes/udev/files/mount.sh b/recipes/udev/files/mount.sh
> index be8b3df..440dcee 100644
> --- a/recipes/udev/files/mount.sh
> +++ b/recipes/udev/files/mount.sh
> @@ -64,7 +64,7 @@ fi
>  if [ "$ACTION" = "remove" ] && [ -x "$UMOUNT" ] && [ -n "$DEVNAME" ]; then
>  	for mnt in `cat /proc/mounts | grep "$DEVNAME" | cut -f 2 -d " " `
>  	do
> -		$UMOUNT $mnt
> +		$UMOUNT -l $mnt
>  	done
>  	
>  	# Remove empty directories from auto-mounter
> diff --git a/recipes/udev/files/slugos/mount.sh b/recipes/udev/files/slugos/mount.sh
> index 0990a7e..b5298e9 100644
> --- a/recipes/udev/files/slugos/mount.sh
> +++ b/recipes/udev/files/slugos/mount.sh
> @@ -75,7 +75,7 @@ fi
>  if [ "$ACTION" = "remove" ] && [ -x "$UMOUNT" ] && [ -n "$DEVNAME" ]; then
>  	for mnt in `cat /proc/mounts | grep "$DEVNAME" | cut -f 2 -d " " `
>  	do
> -		$UMOUNT $mnt
> +		$UMOUNT -l $mnt
>  	done
>  	
>  	# Remove empty directories from auto-mounter

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFMIbz5MkyGM64RGpERAt02AJ40tRHUFB92CtUl1Aygxf2Vl6IFTwCfYgUQ
VrKYoZrz8xUJxWkPt/Fq+QM=
=Gvcc
-----END PGP SIGNATURE-----




  reply	other threads:[~2010-06-23  7:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <111b01cb123eb0466e0MAN_POSIXLY_CORRECT=1Distant-earth.com>
2010-06-23  6:11 ` [PATCH v2] udev/mount.sh: use lazy umount Steffen Sledz
2010-06-23  7:51   ` Koen Kooi [this message]
2010-06-23 12:05     ` Steffen Sledz

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='hvsedp$kjb$1@dough.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@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