Re: Re: Debian 12.5 up-to-date Xfce, Firefox clings to USB stick
I'm mounting and unmounting through the stick icon's menu on Xfce desktop. Maybe a fancy file chooser dialogue stays around analyzing the directory, as you suspect? But I'm worried my Gmail in Firefox is capable of stealing files off my USB stick.
Re: Re: Re: Debian 12.5 up-to-date Xfce, Firefox clings to USB stick
I'd just like to add that I have seen the problem despite reinstalls with Debian stable minor versions. Thanks!
Re: Re: Debian 12.5 up-to-date Xfce, Firefox clings to USB stick
On Sat, Mar 30, 2024 at 07:32:16PM +0200, Antti-Pekka Känsälä wrote: > Yes, closing Firefox does allow the stick to unmount cleanly, but I still > worry. To get an idea of what's going on, you can use "lsof": tomas@trotzki:~$ lsof /dev/sda1 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME bash3982 tomas cwdDIR8,1 40962 /boot hexdump 4056 tomas0r REG8,1 33464584 28 /boot/initrd.img-5.10.0-26-amd64 hexdump 4074 tomas0r REG8,1 7044672 27 /boot/vmlinuz-5.10.0-26-amd64 There are three processes accessing my /dev/sda1 ("aka" /boot). I put them there to have something to show :-) Cheers -- t signature.asc Description: PGP signature
Re: Re: Debian 12.5 up-to-date Xfce, Firefox clings to USB stick
I can replicate this, by trying to send Gmail to myself in Firefox, attaching a binary on a mounted USB stick. After the attachment supposedly was uploaded, I tried to unmount the stick, but it blocked. "lsof | grep -i KINGSTON" then shows a total of 129 lines from "x-www-browser". This lasted for about a minute, then the drive unmounted by itself.
Re: Re: Debian 12.5 up-to-date Xfce, Firefox clings to USB stick
I was able to replicate this, by trying to send gmail to myself in Firefox, attaching a binary on a mounted USB stick. After the attachment supposedly was uploaded, I tried to unmount the stick, but it blocks. "lsof | grep -i KINGSTON" then shows a total of 129 lines from "x-www-browser". This lasted for about a minute, then the drive unmounted by itself.
Re: Re: Debian 12.5 up-to-date Xfce, Firefox clings to USB stick
Yes, closing Firefox does allow the stick to unmount cleanly, but I still worry.