2005-01-03 01:13:03

by Bodo Eggert

[permalink] [raw]
Subject: Re: the umount() saga for regular linux desktop users

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