Solve the problem that umount will fail when an opened file isn't closed

From: colin
Date: Thu Jun 15 2006 - 22:55:16 EST



Hi all,
I have implemented an auto-mount & auto-umount facility based on USB
hotplug.
An annoying problem will occur when some process doesn't close its open file
and auto-umount is trying to umount that mount point after usb disk has been
unplugged.
Is there any way to force it to be umounted in this situation?

Regards,
Colin

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