Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261362AbVACBND (ORCPT ); Sun, 2 Jan 2005 20:13:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261372AbVACBND (ORCPT ); Sun, 2 Jan 2005 20:13:03 -0500 Received: from mail-in-05.arcor-online.net ([151.189.21.45]:24262 "EHLO mail-in-05.arcor-online.net") by vger.kernel.org with ESMTP id S261362AbVACBMy (ORCPT ); Sun, 2 Jan 2005 20:12:54 -0500 From: Bodo Eggert <7eggert@gmx.de> Subject: Re: the umount() saga for regular linux desktop users To: Adrian Bunk , linux-kernel@vger.kernel.org, Oliver Neukum Reply-To: 7eggert@gmx.de Date: Mon, 03 Jan 2005 02:17:14 +0100 References: User-Agent: KNode/0.7.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-Id: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 532 Lines: 12 Adrian Bunk wrote: > On Sun, Jan 02, 2005 at 09:34:16PM +0100, Oliver Neukum wrote: >> 3. Is a race condition. > > Then put it into a while loop that executes until umount returns 0. #!/bin/sh for ((i=0;i<7;i++)) do while true; do sh -c 'chdir /mnt/cdrom;sleep 2147483647';done& done - 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/