Re: How do I run a script automatically when a specific drive mounts? (SOLVED)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/14/2013 10:01 PM, T.C. Hollingsworth wrote:
> On Jul 14, 2013 1:45 PM, "Anthony" <lists@xxxxxxxxxxxxxxx
> <mailto:lists@xxxxxxxxxxxxxxx>> wrote:
>>  I want to execute a script every time a specific drive is mounted on
>> the system. I have a thumb drive that has a name I've given it. When
>> it's mounted, I want to copy the contents of my .gnupg directory to it
>> so I can always have a current backup of my keyring.
>>
>> From the research I've done, it looks like UDEV rules are the way to go
>> but, IIRC, Fedora doesn't use UDEV anymore. How can I accomplish this now?
> 
> I'm afraid you recall incorrectly. ;-)
> 
> Pretty much every distro uses udev nowadays and it's not going away
> anytime soon--it's part of systemd now.
> 
> And yes, a udev rule is the way to go.

Many thanks!


-- 
Anthony Papillion
Phone:   1.918.533.9699
SIP:     sip:cajuntechie@xxxxxxxxx
iNum:    +883510008360912
XMPP:    cypherpunk38@xxxxxx

www.cajuntechie.org
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux