bashmount icon indicating copy to clipboard operation
bashmount copied to clipboard

Unable to unmount because bashmount keeps target busy

Open ViceroyFaust opened this issue 4 years ago • 2 comments
trafficstars

When trying out bashmount, I discovered that when I attempt to unmount the device, I get Error unmounting /dev/sdf1: GDBus.Error:org.freedesktop.UDisks2.Error.DeviceBusy: Error unmounting /dev/sdf1: target is busy When I check lsof, I find that bashmount is keeping the target busy, preventing itself from unmounting it bashmount 24464 dfowl cwd DIR 8,81 16384 1 /run/media/dfowl/DFO_USB

ViceroyFaust avatar Jun 15 '21 16:06 ViceroyFaust

I should probably clarify some things. This happens only when I select the disk and tell bashmount to open it. After opening the directory, bashmount closes itself but does not end itself. Perhaps I am overlooking a way to reopen the bashmount that keeps running in the background, but that's what prevents it from unmounting/ejecting.

ViceroyFaust avatar Jun 17 '21 00:06 ViceroyFaust

I found that somehow there are other bashmount processes running in the background, kill those processes, and redo that again, it will succeed.

c02y avatar Oct 24 '21 02:10 c02y