Transferring files to usb on linux

>transferring files to usb on linux
>transfer is finished
>unmount drive
>can't, drive is busy
>stays busy forever no matter what
I've had this issue on multiple installs and machines. How the fuck do I fix this shit

Attached: real newman.jpg (650x488, 26.53K)

just unplug it. if its done, then its done.

nice usb controller

Works on my machine.

I do but then half the files get corrupted
not a hardware issue, this never happens on windows

Use fuser or lsof to see what's open, then close or kill whatever has it open.

just wait until its done retard

maybe your file manager is screwed up. try copying and unmounting with the terminal

>sync

Do anons mount it on a folder that requires root access or nay?

when will this humiliation end linux sisters? ;_;

Attached: 1555260891831.png (287x425, 123.74K)

I've tried, same result.
It seems to be also effected by file size/amount. When only copying over a single album of music it seems to work fine but with multiple it shits itself.

The files are random files already on the usb drive, none of them are ones I transferred. Ending the process doesn't do anything as new ones just pop up.

Attached: activity.png (1510x108, 51.56K)

Then find out what the fuck in your system is spawning processes that open random shit on disks, and uninstall it.

A search indexer maybe? Can you identify it and tell it not to index removable drives?

how do I do this

Just turn off the computer, then unplug it.

Attached: 1m06z4.jpg (250x163, 7.29K)

This happens with my external HDD unless I do the following (install udisks2):

udisksctl mount -b /dev/sdb1 (notice the sdb1, select the partition)
copy files to said partition inside the HDD
udisksctl unmount -b /dev/sdb1
udisksctl power-off -b /dev/sdb (you must enter the device sdb. not the partition)

If I don't enter the last command, the HDD keeps spinning but unable to access it, like in a limbo. Hope this helps.

>How the fuck do I fix this shit
Install windows

classic linux

Do you have a terminal that's current working directory is somewhere in your USBs filesystem? That's enough to be considered busy. Change directory out of it if so.

>cp file /dev/sdb1/folder && sync

You need to sync, user. It's not as automatic as it should be.

This is an issue with lf, which launches a server that persists after its window is closed.
`lsof` is good for knowing what is running where.