Welcome to the Slackware Documentation Project

Differences

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

Link to this comparison view

Next revision
Previous revision
howtos:general_admin:automount_via_udev [2013/12/23 20:36 (UTC)]
louigi600 created
howtos:general_admin:automount_via_udev [2020/01/06 03:25 (UTC)] (current)
hwpfeil changed parsistent to persistent
Line 6: Line 6:
 I wrote a couple of really simple udev rules to call the management program: ​ I wrote a couple of really simple udev rules to call the management program: ​
  
-  root@nas:~# cat /​etc/​udev/​rules.d/​99-parsistent-personal.rules ​+  root@nas:~# cat /​etc/​udev/​rules.d/​99-persistent-personal.rules ​
   ACTION=="​add",​KERNEL=="​sd[a-z][1-9]",​ PROGRAM="​automount"​   ACTION=="​add",​KERNEL=="​sd[a-z][1-9]",​ PROGRAM="​automount"​
   ACTION=="​remove",​KERNEL=="​sd[a-z][1-9]",​ PROGRAM="​automount"​   ACTION=="​remove",​KERNEL=="​sd[a-z][1-9]",​ PROGRAM="​automount"​
Line 56: Line 56:
   root@nas:~#   root@nas:~#
  
 +it gets populated with new lines as the usb drives come and go. The only thing you may want to do before unplugging any usb drive is remounting the filesystem ReadOnly on the nas manually. There aren't any buttons on the GoFlexNet that can be used to tigger this unfortunately,​
 ====== Sources ====== ====== Sources ======
 <!-- If you are copying information from another source, then specify that source --> <!-- If you are copying information from another source, then specify that source -->

In Other Languages
QR Code
QR Code howtos:general_admin:automount_via_udev (generated for current page)