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

From: Andries Brouwer
Date: Fri Dec 31 2004 - 12:57:34 EST


On Fri, Dec 31, 2004 at 05:41:02PM +0000, William wrote:

> Regularly, when attempting to umount() a filesystem I receive 'device is busy'
> errors. The only way (that I have found) to solve these problems is to go on
> a journey into processland and kill all the guilty ones that have tied
> themselves to the filesystem concerned.

Do you know about the existence of the MNT_DETACH flag of umount(2),
or the -l option of umount(8)?

It seems that does at least some of the things you are asking for.

Andries
-
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/