You are not logged in.

#1 2012-09-06 08:55:19

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 227

[solved] udisks: UDISKS_PRESENTATION_HIDE has no effect

I have the following rule in /etc/udev/rules.d/99-hide-partitions.rules:

ENV{ID_FS_UUID}=="6C587B51587B18D2", ENV{UDISKS_PRESENTATION_HIDE}="1"

According to `udisks --dump` the property is properly set:

(...)
presentation hide:           1
  presentation nopolicy:       0
  presentation name:           
  presentation icon:           
  automount hint:              
  size:                        104857600
  block size:                  512
  job underway:                no
  usage:                       filesystem
  type:                        ntfs
  version:                     
  uuid:                        6C587B51587B18D2
(...)

But still I can see the partition in Thunar and Nautilus. The problem exists with various other devices like LVM volumes and LUKS containers, but this is the simplest one.

Any suggestions?


Regards

lynix

Last edited by lynix (2012-09-06 19:51:15)

Offline

#2 2012-09-06 09:02:06

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 227

Re: [solved] udisks: UDISKS_PRESENTATION_HIDE has no effect

Found a workaround: setting UDISKS_IGNORE hides the drives (bug 29235).

But I'd still like to know why the presentation layer ignores the udisks hints.

Offline

#3 2012-09-06 19:51:04

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 227

Re: [solved] udisks: UDISKS_PRESENTATION_HIDE has no effect

Digging around I got the impression that the "hide" hint no longer exists in udisks2.

As `udisks --dump` refers to udisks and not udisks2 (`udisksctl` is the equivalent here) the picture gets clear and I'll mark this thread as (self-)solved smile

Offline

Board footer

Powered by FluxBB