From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from proxy.dresearch.de ([87.193.137.100] helo=mail.dresearch.de) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1OR2EZ-0005Z6-Rp for openembedded-devel@lists.openembedded.org; Tue, 22 Jun 2010 14:05:46 +0200 Received: from exchange.intern.dresearch.de (unknown [192.168.32.16]) by mail.dresearch.de (Postfix) with ESMTP id C5449491278 for ; Tue, 22 Jun 2010 14:01:10 +0200 (CEST) Received: from [127.0.0.1] ([10.32.10.2]) by exchange.intern.dresearch.de with Microsoft SMTPSVC(6.0.3790.4675); Tue, 22 Jun 2010 14:01:10 +0200 Message-ID: <4C20A60D.40102@dresearch.de> Date: Tue, 22 Jun 2010 14:01:17 +0200 From: Steffen Sledz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.10) Gecko/20100512 Lightning/1.0b1 Thunderbird/3.0.5 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <1277201329-1339-1-git-send-email-sledz@dresearch.de> In-Reply-To: X-OriginalArrivalTime: 22 Jun 2010 12:01:10.0845 (UTC) FILETIME=[9AE9F6D0:01CB1202] X-SA-Exim-Connect-IP: 87.193.137.100 X-SA-Exim-Mail-From: sledz@dresearch.de X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: [PATCH] udev/mount.sh: try to kill active processes before umount X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 12:05:47 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 --=20 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=E4ftsf=FChrer: Dr. Michael Weber, Werner M=F6gle; Amtsgericht Berlin Charlottenburg; HRB 54412; Ust.-IDNr. DE169013825; WEEE Reg.-Nr. DE 85995642