Hello, in my new installation of Fedora KDE one of my internal SSDs appears as removable:

This does not happen on other distros i’ve tried.
Here is the output of lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 5.5T 0 disk
└─sda1 8:1 0 5.5T 0 part /mounts/ab377cf8-c32c-4599-9e52-e8dafff6ce86
sdb 8:16 0 1.8T 0 disk
└─sdb1 8:17 0 1.8T 0 part /mounts/69b2fe34-d99a-4f0e-bbe3-f0c1acfaf0f2
nvme0n1 259:0 0 931.5G 0 disk
├─nvme0n1p1 259:1 0 600M 0 part /boot/efi
├─nvme0n1p2 259:2 0 1G 0 part /boot
└─nvme0n1p3 259:3 0 929.9G 0 part /home
/
nvme1n1 259:4 0 931.5G 0 disk
├─nvme1n1p1 259:5 0 1000M 0 part
└─nvme1n1p2 259:6 0 930.5G 0 part /mounts/00d6c142-ca89-4f65-93d0-dd74f14236f8
nvme1n1 is the disk in question.
/sys/class/block/nvme1n1/removable says it is not removable.
How can I make this not appear as removable?


A hacky way to fix that is to make that device your user home directory. If the device contains your user home or root directory, it won’t be removable.
I’m looking through the code now. It looks like it’s getting the device list from multiple sources and the
fstabsource might be losing the race to something else.[1]fstabdevices aren’t removable.https://invent.kde.org/frameworks/solid/-/tree/master/src/solid/devices/backends?ref_type=heads ↩︎