Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261552AbVACTSM (ORCPT ); Mon, 3 Jan 2005 14:18:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261760AbVACTRH (ORCPT ); Mon, 3 Jan 2005 14:17:07 -0500 Received: from relay.axxeo.de ([213.239.199.237]:21431 "EHLO relay.axxeo.de") by vger.kernel.org with ESMTP id S261621AbVACTOb (ORCPT ); Mon, 3 Jan 2005 14:14:31 -0500 From: Ingo Oeser To: linux-kernel@vger.kernel.org Subject: Re: the umount() saga for regular linux desktop users Date: Mon, 3 Jan 2005 20:14:20 +0100 User-Agent: KMail/1.6.2 Cc: Frank van Maarseveen , Adrian Bunk , Pavel Machek , Oliver Neukum , luto@myrealbox.com, aebr@win.tue.nl References: <20050102193724.GA18136@elf.ucw.cz> <20050102210536.GF4183@stusta.de> <20050103093545.GA8524@janus> In-Reply-To: <20050103093545.GA8524@janus> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200501032014.20046.ioe-lkml@axxeo.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 823 Lines: 23 Frank van Maarseveen schrieb: > On Sun, Jan 02, 2005 at 10:05:36PM +0100, Adrian Bunk wrote: > > On Sun, Jan 02, 2005 at 09:56:50PM +0100, Pavel Machek wrote: > > > Okay, so the right solution is probably something more like > > > > > > while umount /mnt; do > > > fuser -km -TERM /mnt > > > sleep 1 > > > fuser -km /mnt > > > done > There's a much more interesting race: another process succesfully umounting > the thing while this one's asleep. For those who don't know what happens: fuser -km /mnt will act like fuser -km / in that race and kill all processes. BTDT :-( - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/