User Tools

Site Tools


tips:hiding-lvm2-physical-volumes-from-thunar-removable-devices

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
tips:hiding-lvm2-physical-volumes-from-thunar-removable-devices [05.08.2012 00:31]
vergo created
tips:hiding-lvm2-physical-volumes-from-thunar-removable-devices [05.08.2012 23:13]
vergo
Line 5: Line 5:
 Adding the following in ///etc/udev/rules.d/99-hide-thunar-devices.rules// will hide devices starting with "md" and ending with "_crypt", essentially hiding encrypted raid devices. Adding the following in ///etc/udev/rules.d/99-hide-thunar-devices.rules// will hide devices starting with "md" and ending with "_crypt", essentially hiding encrypted raid devices.
 <code> <code>
-# crypted lvm2 volumes shouldn't be visible a removable devices in thunar +ENV{DM_LV_NAME}=="md?*_crypt", ENV{UDISKS_PRESENTATION_HIDE}:="1" 
-ENV{DM_LV_NAME}=="md?*_crypt", ENV{UDISK_PRESENTATION_HIDE:="1"+</code> 
 + 
 +Alternative syntax if you know the exact device name: 
 + 
 +<code> 
 +KERNEL=="sda1", ENV{UDISKS_PRESENTATION_HIDE}:="1"
 </code> </code>
  
 The bad news: a reboot seems to be needed. The bad news: a reboot seems to be needed.
tips/hiding-lvm2-physical-volumes-from-thunar-removable-devices.txt · Last modified: 05.08.2012 23:28 by vergo