Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-04-27 08:04:46

Friedrich
Member
Registered: 2016-09-18
Posts: 140

Hidden partitions in thunar's device view

Hi,

thunar normally shows only two devices in the device view - the root system and my data partition. i have also other partitions mounted, but the are hidden (/media/.kubuntu) and normlly i dont see them under devices. In the last weeks very offen i have ALL partitions in the device view. I don't need this partitions here. I dont know whats wrong with the system if this occurs. The systems needs some moments more to boot. There is a black desktop before the desktop icons are shown.

Is this a known problem? How can i fix that?

Here is an example. This is my mozilla partition where the thunderbird and firefox profiles are saved. This is how i mount the partition with fstab

UUID=f6052e01-9aa0-4894-800e-467018ddca2f       /media/z/.mozilla       ext4    defaults,nofail,x-systemd.device-timeout=99     0       1

Friedrich

Offline

#2 2021-04-27 14:57:51

CwF
Member
Registered: 2018-01-28
Posts: 305

Re: Hidden partitions in thunar's device view

I don't hide partitions, only whole disk, but a custom udev rule works

create /etc/udev/rules.d/99-hide-partition.rules with a line

ENV{ID_SERIAL}=="serial", ENV{IDISK_IGNORE}="1"

Other id methods should work, I'm fuzzy on that, check with

 udevadm info /dev/sda

Offline

#3 2021-08-13 12:43:49

Friedrich
Member
Registered: 2016-09-18
Posts: 140

Re: Hidden partitions in thunar's device view

Doesn't work. This is the content of the rule

ENV{ID_SERIAL}=="serial", ENV{IDISK_IGNORE}="1"

Something wrong?

Offline

#4 2021-08-13 18:23:17

CwF
Member
Registered: 2018-01-28
Posts: 305

Re: Hidden partitions in thunar's device view

"serial" needs to be the value from the device itself.

"udevadm info /dev/sda" is the command to find the descriptors of the disk in question...

One of the many lines returned will be;

E: ID_SERIAL=Samsung_SSD_840_Series_S14ENEAC266N
E: ID_SERIAL_SHORT=S14ENEAC266N

Those are down the list a bit, in my example, another descriptor is "ID_SERIAL_SHORT"
...probably could use that...these are the descriptors to make rules. so...

ENV{ID_SERIAL}=="Samsung_SSD_840_Series_S14ENEAC266N", ENV{IDISK_IGNORE}="1"
"udevadm info /dev/sda1"

or any other PARTITION will also list the disk's ID, which will hide all on that disk, so you can try some of the other descriptors that refer to the unique partition, yes? As I stated, I'm in the best practice habit of one partition per disk...

Last edited by CwF (2021-08-13 18:31:56)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 8 queries executed - Memory usage: 534.89 KiB (Peak: 535.52 KiB) ]