Messages in this thread | | | Date | Wed, 24 Nov 2004 11:17:06 +0100 | From | bert hubert <> | Subject | Re: Delay in unmounting a USB pen drive |
| |
On Wed, Nov 24, 2004 at 02:55:57PM +0530, Raj wrote: > SuSE kernel 2.6.5: > > My USB pen drive has a vfat FS. When i transfer some files & try to > unmount the drive ( umount /mnt ) , the command appears hung. CTRL+C also > does not work. Only later did i realise that it was actually taking a > longer time ( 10 - 15 sec ) > to unmount.
The data is only actually being written to the pen drive when you unmount. To make unmounting fast, either mount with -o sync, or run 'sync' before umounting.
> - Is it safe to remove the pen drive from it's slot when the umount is still in > progress ?? ( I tried this the first time & maybe lucky me, the > files copied were fine )
Try reading them - you will find emtpiness.
-- http://www.PowerDNS.com Open source, database driven DNS Software http://lartc.org Linux Advanced Routing & Traffic Control HOWTO - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |