Re: the umount() saga for regular linux desktop users

From: Bodo Eggert
Date: Sun Jan 02 2005 - 20:14:38 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/