I'm using Ubuntu 17.10.
I formatted an USB pen-drive to NTFS to prepare a Windows7 USB Installer.
I set the bootable flag on this pen-drive and copied the files into it.
EDIT 1: The USB pen-drive is automatically mounted by udev.
umount /dev/sdb1
takes from 10 upto 12 minutes to complete.
Here are the mount options :
$ mount | grep sdb
/dev/sdb1 on /media/mansfeld/Win7_USB_Installer type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
EDIT 2: The cp
operation is not INSTANTANEOUS at all, it took 3 minutes to copy the files to the USB pen-drive.
EDIT 3: The sync
operation (done right after the cp
) took 12 minutes to complete ! But then the umount
will be instantaneous.
For FAT32, (with sync also disabled during mount), I notice the same behaviour.
Any ideas why it takes so long to unmount NTFS USB pendrive ?