1

Disable auto mount of USB hard disk

view story
linux-howto

http://forums.fedoraforum.org – Hello, I have an USB hard disk with an ext4 file system. Every time I plug in the disk or boot the system while the disk is on, it will be mounted. In this special case it is not what I] want. So after some googleing I found the I need to write an udev rule. But I thing, I make some think wrong, because the rule is not working. The disk will still be mounted. Here the rule: /etc/udev/rules.d/10-datensicherung.rules: SUBSYSTEMS=="usb",ATTRS{serial}=="SERIAL of the disk",ENV{UDISKS_AUTOMOUNT_HINT}="never",ACTION==" add|change" that goe (HowTos)