[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

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
automount_via_udev [2013/12/23 20:36 (UTC)] – created louigi600howtos:general_admin:automount_via_udev [2020/01/06 03:25 (UTC)] (current) – changed parsistent to persistent hwpfeil
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 -->
 howtos:general_admin:automount_via_udev ()