On Mon, 07 Nov 2005 23:39:20 +0100, Christian Costa titan.costa@wanadoo.fr wrote:
Brian Vincent wrote:
On 11/5/05, Brian Vincent brian.vincent@gmail.com wrote:
Then "wine eject" doesn't work the first time I try it. The second time I run it, it works fine.
Maybe I'm just unclear on the usage. It appears the first time it unmounts the drive and then the second time it actually ejects it. Is that intended behavior?
-Brian
The error (21) suggest the drive is not ready or is finishing something. Could you add a delay before the ejection IOCTL ?
umount is not instantaneous, it may involve large buffer flushing and fs updates, is mount returning before all this is done?