Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Steffen Sledz <sledz@dresearch.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] udev/mount.sh: try to kill active processes before umount
Date: Tue, 22 Jun 2010 14:01:17 +0200	[thread overview]
Message-ID: <4C20A60D.40102@dresearch.de> (raw)
In-Reply-To: <hvq586$1jc$1@dough.gmane.org>

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.

Steffen

-- 
Steffen Sledz
DResearch Digital Media Systems GmbH
Otto-Schmirgal-Str.3, D-10319 Berlin, Germany
Tel: +49 (30) 515932237 mailto:sledz@DResearch.DE
Fax: +49 (30) 515932299 http://www.DResearch.DE
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 54412;
Ust.-IDNr. DE169013825; WEEE Reg.-Nr. DE 85995642




  reply	other threads:[~2010-06-22 12:05 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 [this message]
2010-06-22 14:29     ` Koen Kooi
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=4C20A60D.40102@dresearch.de \
    --to=sledz@dresearch.de \
    --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