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] udev/mount.sh: try to kill active processes before umount
Date: Tue, 22 Jun 2010 16:29:04 +0200	[thread overview]
Message-ID: <hvqhbh$hqo$2@dough.gmane.org> (raw)
In-Reply-To: <4C20A60D.40102@dresearch.de>

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

On 22-06-10 14:01, Steffen Sledz wrote:
> Am 22.06.2010 13:02, schrieb Koen Kooi:
>> Wouldn't a umount -l be a lot better in this case?
> 
> I'm not sure if this would do the right things.
> 
> mount.sh is called with REMOVE action when the device *is
> disconnected* i.e. the filesystem is no longer available.
> So i believe it is not possible to "cleanup all references
> to the filesystem as soon as it is not busy anymore".
> 
> I think killing all the processes is the only way here.

I don't like the idea of killing random processes, especially is that
process is smart enough to "move on" after a timeout.

regards,

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

iD8DBQFMIMiwMkyGM64RGpERAiFVAKCzGeqyIx8Mh+EHcXz8/w3uK20D0ACfXR++
x3OaWYcazQ9Wc1/cObARf2E=
=xOUQ
-----END PGP SIGNATURE-----




  reply	other threads:[~2010-06-22 14:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-22 10:08 [PATCH] udev/mount.sh: try to kill active processes before umount Steffen Sledz
2010-06-22 11:02 ` Koen Kooi
2010-06-22 12:01   ` Steffen Sledz
2010-06-22 14:29     ` Koen Kooi [this message]
2010-06-22 19:11       ` John Willis
2010-06-23  6:13         ` Steffen Sledz
2010-06-22 20:54     ` Phil Blundell

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='hvqhbh$hqo$2@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