Am 28.06.20 um 01:50 schrieb Samuel Sieb: > On 6/27/20 7:55 AM, Markus Schönhaber wrote: >> Doing "safely remove" (for example in Dolphin) also removes the >> corresponding device node. >> eject -t <the device node not present any more> >> for me, removes the necessity to pull an re-insert the thumb drive to >> re-create the device node and to be able to access it again. That's the >> whole point in issuing eject -t. > Are you sure the device node is removed? For some definition of what "the" device node is, yes. But you're right nevertheless - I was fooled by lsblk's output. > At least in Gnome when you > press the eject button on a flash drive, it appears to do an internal > "eject", which seems really weird to me. The drive size goes to zero, > but the device node is still there. When you do the "eject -t", it > reconnects the media and the drive size comes back. There's no way you > can do an "eject -t" on a non-existent device node. I see this with no thumb drive attached: # ls -l /dev/sd* brw-rw---- 1 root disk 8, 0 27. Jun 15:34 /dev/sda brw-rw---- 1 root disk 8, 1 27. Jun 15:34 /dev/sda1 brw-rw---- 1 root disk 8, 16 27. Jun 15:34 /dev/sdb brw-rw---- 1 root disk 8, 17 27. Jun 15:34 /dev/sdb1 after inserting the drive: # ls -l /dev/sd* brw-rw---- 1 root disk 8, 0 27. Jun 15:34 /dev/sda brw-rw---- 1 root disk 8, 1 27. Jun 15:34 /dev/sda1 brw-rw---- 1 root disk 8, 16 27. Jun 15:34 /dev/sdb brw-rw---- 1 root disk 8, 17 27. Jun 15:34 /dev/sdb1 brw-rw---- 1 root disk 8, 32 28. Jun 11:57 /dev/sdc brw-rw---- 1 root disk 8, 33 28. Jun 11:57 /dev/sdc1 after "safely removing" the thumb drive through the Plasma GUI # ls -l /dev/sd* brw-rw---- 1 root disk 8, 0 27. Jun 15:34 /dev/sda brw-rw---- 1 root disk 8, 1 27. Jun 15:34 /dev/sda1 brw-rw---- 1 root disk 8, 16 27. Jun 15:34 /dev/sdb brw-rw---- 1 root disk 8, 17 27. Jun 15:34 /dev/sdb1 brw-rw---- 1 root disk 8, 32 28. Jun 11:58 /dev/sdc So the device node for the partition on the thumb drive is indeed gone but the node for the device itself is still there. What fooled me is this: # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1,8T 0 disk └─sda1 8:1 0 1,8T 0 part [...] sdb 8:16 0 1,8T 0 disk └─sdb1 8:17 0 1,8T 0 part [...] nvme0n1 259:0 0 931,5G 0 disk [...] i. e. sdc is missing in lsblk's output. So you're right, eject -t is probably not a solution to the OP's problem since it did work for me only because the device node is not "entirely" gone. Sorry for the noise. -- Regards mks _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx