udev Tips

From trapsink.com
Jump to: navigation, search


Hide Partitions

Handy for hiding Windows partitions from showing up on your desktop:

/etc/udev/rules.d/99-hide-partitions.rules
KERNEL=="sda1",ENV{UDISKS_IGNORE}="1"
KERNEL=="sda2",ENV{UDISKS_IGNORE}="1"