[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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
  bash    3982 tomas  cwd    DIR    8,1     4096    2 /boot
  hexdump 4056 tomas    0r   REG    8,1 33464584   28 /boot/initrd.img-5.10.0-26-amd64
  hexdump 4074 tomas    0r   REG    8,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

Attachment: signature.asc
Description: PGP signature


Reply to: