21.1 has ghost USB. can't get rid of it?

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
bjr23
Level 1
Level 1
Posts: 34
Joined: Mon Jan 09, 2023 7:38 pm

21.1 has ghost USB. can't get rid of it?

Post by bjr23 »

I've deleted the ghost files from the USB Ghost (no flash drive inserted) but the drive still shows in file explorer under devices Nemo 5.6.1 I've restarted the computer but the USB still shows in Nemo? How can I delete the USB in Nemo?
Last edited by LockBot on Sat Sep 30, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: 21.1 has ghost USB. can't get rid of it?

Post by Cosmo. »

Please provide a screenshot for this mystery. What does Disks say?
bjr23
Level 1
Level 1
Posts: 34
Joined: Mon Jan 09, 2023 7:38 pm

Re: 21.1 has ghost USB. can't get rid of it?

Post by bjr23 »

screen shot is 'bout worthless, when I enlarge the shot it's TOO blurry. In Nemo It just show under devices USB with the mount symbol. under Disk it shows the normal hard drives and the cdrom and NO USB. I don't know how to get a good screenshot that's not blurry.
bjr23
Level 1
Level 1
Posts: 34
Joined: Mon Jan 09, 2023 7:38 pm

Re: 21.1 has ghost USB. can't get rid of it?

Post by bjr23 »

Okay I tried a screenshot of the Properties Nemo device USB and I think you'll be able to see it. It show the directory as a "inode/directory" I don't know what that is and I can't delete it either?
Attachments
Maybe this is better
Maybe this is better
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: 21.1 has ghost USB. can't get rid of it?

Post by Cosmo. »

Unmount it and plug it out.

I do not see any hint, that this is a ghost.
bjr23
Level 1
Level 1
Posts: 34
Joined: Mon Jan 09, 2023 7:38 pm

Re: 21.1 has ghost USB. can't get rid of it?

Post by bjr23 »

It's what I call a ghost in that there's no USB drive inserted (Long Gone). The files that were showing on that drive have been deleted and all that left is the Icon on the main page and in the Devices folder. I don't understand why it's still showing up under devices when there's nothing plugged in?
User avatar
JerryF
Level 16
Level 16
Posts: 6571
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: 21.1 has ghost USB. can't get rid of it?

Post by JerryF »

Have you tried clicking on the Eject icon?

It's the arrow next to "20 GB Volume".
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: 21.1 has ghost USB. can't get rid of it?

Post by Cosmo. »

Does the ghost show in Disks or not?

Open Users & Groups and create a new account for testing. Reboot and log into the new account. How does it appear there?
bjr23
Level 1
Level 1
Posts: 34
Joined: Mon Jan 09, 2023 7:38 pm

Re: 21.1 has ghost USB. can't get rid of it?

Post by bjr23 »

under Disk it shows the normal hard drives and the cdrom and NO USB. I did answer earlier.
bjr23
Level 1
Level 1
Posts: 34
Joined: Mon Jan 09, 2023 7:38 pm

Re: 21.1 has ghost USB. can't get rid of it?

Post by bjr23 »

Also, there is NO EJECT button.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: 21.1 has ghost USB. can't get rid of it?

Post by Cosmo. »

bjr23 wrote: Mon Apr 03, 2023 12:58 pm Also, there is NO EJECT button.
In your screenshot you showed one. :?
bjr23
Level 1
Level 1
Posts: 34
Joined: Mon Jan 09, 2023 7:38 pm

Re: 21.1 has ghost USB. can't get rid of it?

Post by bjr23 »

Just mount/unmount is all and nothing happens when those buttons are used. Nothing happens when I right mouse click any options there either.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: 21.1 has ghost USB. can't get rid of it?

Post by Cosmo. »

The result in a test account?
User avatar
JerryF
Level 16
Level 16
Posts: 6571
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: 21.1 has ghost USB. can't get rid of it?

Post by JerryF »

Ok. Let's get some information so that we can get to the bottom of this.

Please copy the following compound command:

Code: Select all

mount | sort && lsblk -al
As a tip, there's text that says:

CODE: SELECT ALL

that's found above the command in the code box. If you click on SELECT ALL, everything in the code box will be selected. You can then perform a Ctrl+c (or right click, copy) and then paste the command (Shift+Ctrl+V) into Terminal to run it. This prevents making any typing mistakes.

Highlight and copy the results of the command from the Terminal (Shift+Ctrl+C). Then paste the results of the command back here. Please use Code Tags. To use Code Tags:

Click the </> button from the mini toolbar above the text box where you type your reply.

Code tags [code][/code] will be inserted. Place your cursor between the code tags and paste the results of the command between the tags. Example: [code]copied results[/code].
bjr23
Level 1
Level 1
Posts: 34
Joined: Mon Jan 09, 2023 7:38 pm

Re: 21.1 has ghost USB. can't get rid of it?

Post by bjr23 »

Is This what you want??

mount | sort && lsblk -al

Code: Select all

bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
none on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=22924)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=6574508k,mode=755,inode64)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=6574504k,nr_inodes=1643626,mode=700,uid=1000,gid=1000,inode64)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=32809928k,nr_inodes=8202482,mode=755,inode64)

Code: Select all

NAME      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0       7:0    0     0B  0 loop 
loop1       7:1    0     0B  0 loop 
loop2       7:2    0     0B  0 loop 
loop3       7:3    0     0B  0 loop 
loop4       7:4    0     0B  0 loop 
loop5       7:5    0     0B  0 loop 
loop6       7:6    0     0B  0 loop 
loop7       7:7    0     0B  0 loop 
sda         8:0    0 447.1G  0 disk 
sda1        8:1    0   524M  0 part /boot/efi
sda2        8:2    0  18.6G  0 part 
sda3        8:3    0   882M  0 part [SWAP]
sda4        8:4    0     5M  0 part 
sda5        8:5    0   525M  0 part 
sda6        8:6    0  18.6G  0 part /
sda7        8:7    0   882M  0 part [SWAP]
sda8        8:8    0     5M  0 part 
sr0        11:0    1  1024M  0 rom  
nvme0n1   259:0    0 465.8G  0 disk 
nvme0n1p1 259:1    0   499M  0 part 
nvme0n1p2 259:2    0   128M  0 part 
nvme0n1p3 259:3    0 460.5G  0 part 
nvme0n1p4 259:4    0   4.7G  0 part
Last edited by SMG on Tue Apr 04, 2023 8:21 pm, edited 1 time in total.
Reason: Added code tags to retain formatting of terminal output.
bjr23
Level 1
Level 1
Posts: 34
Joined: Mon Jan 09, 2023 7:38 pm

Re: 21.1 has ghost USB. can't get rid of it?

Post by bjr23 »

I finally found the brackets you were talking about so I pasted again

Code: Select all

[mount | sort && lsblk -al
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda6 on / type ext4 (rw,relatime,errors=remount-ro)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
none on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=22924)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k,inode64)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=6574508k,mode=755,inode64)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=6574504k,nr_inodes=1643626,mode=700,uid=1000,gid=1000,inode64)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=32809928k,nr_inodes=8202482,mode=755,inode64)
NAME      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0       7:0    0     0B  0 loop 
loop1       7:1    0     0B  0 loop 
loop2       7:2    0     0B  0 loop 
loop3       7:3    0     0B  0 loop 
loop4       7:4    0     0B  0 loop 
loop5       7:5    0     0B  0 loop 
loop6       7:6    0     0B  0 loop 
loop7       7:7    0     0B  0 loop 
sda         8:0    0 447.1G  0 disk 
sda1        8:1    0   524M  0 part /boot/efi
sda2        8:2    0  18.6G  0 part 
sda3        8:3    0   882M  0 part [SWAP]
sda4        8:4    0     5M  0 part 
sda5        8:5    0   525M  0 part 
sda6        8:6    0  18.6G  0 part /
sda7        8:7    0   882M  0 part [SWAP]
sda8        8:8    0     5M  0 part 
sr0        11:0    1  1024M  0 rom  
nvme0n1   259:0    0 465.8G  0 disk 
nvme0n1p1 259:1    0   499M  0 part 
nvme0n1p2 259:2    0   128M  0 part 
nvme0n1p3 259:3    0 460.5G  0 part 
nvme0n1p4 259:4    0   4.7G  0 part ]
bjr23
Level 1
Level 1
Posts: 34
Joined: Mon Jan 09, 2023 7:38 pm

Re: 21.1 has ghost USB. can't get rid of it?

Post by bjr23 »

the text instead of Blacks, it's now Greens, and I Don't know what that means? Yes, I deliberately rhymed it.
User avatar
JerryF
Level 16
Level 16
Posts: 6571
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: 21.1 has ghost USB. can't get rid of it?

Post by JerryF »

Run this command in Terminal and see if it disappears:

Code: Select all

sudo umount --force /dev/sda6
bjr23
Level 1
Level 1
Posts: 34
Joined: Mon Jan 09, 2023 7:38 pm

Re: 21.1 has ghost USB. can't get rid of it?

Post by bjr23 »

Code: Select all

[sudo umount --force /dev/sda6
umount: /: target is busy.
]
bjr23
Level 1
Level 1
Posts: 34
Joined: Mon Jan 09, 2023 7:38 pm

Re: 21.1 has ghost USB. can't get rid of it?

Post by bjr23 »

Could I try sda2?
Locked

Return to “Cinnamon”