Re: Delay in unmounting a USB pen drive

From: Raj
Date: Wed Nov 24 2004 - 04:52:08 EST


> You can change this by using the "sync" option to mount which will cause
> data to be written synchronously and the umount will be instantaneous.
> Note that this will cause device write to be _much_ slower!
>

Tried 'mount -o sync /dev/sda /mnt' . After a 57MB file copy, i unmount. Still
it takes a lot of time.

> One thing is certain, do NOT unplug before the umount completes or you
> will corrupt your fs on the stick for sure.

I shall remember this !. Thx very much.

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