Painless Thumbdrive Backups
This article has scratched only the surface of what you can do with udev rules. Any type of hot-plug event can fire a rule that can do almost anything. For example, you can write rules to mount devices automatically, copy pictures off a digital camera or set up a network link. udev's rules language provides great flexibility, including printf-like wild cards and the ability to set permissions.
The best overview for writing your own udev rules is Daniel Drake's “Writing udev Rules”, which can be found at www.reactivated.net/writing_udev_rules.html.
Andrew Fabbro has become an Oracle DBA; however, he still has root at home and he welcomes your comments sent to firstname.lastname@example.org.
Andrew Fabbro is a senior technologist living in the Portland, Oregon, area. He's used Linux since Slackware came on floppies and presently works for Con-way, a Fortune 500 transportation company.
- Is the Private Cloud a Real Cloud?
- Give new life to old phones and tablets with these tips!
- Readers' Choice Awards 2014 Poll
- Readers' Choice Awards 2013
- Memory Ordering in Modern Microprocessors, Part I
- RSS Feeds
- Linux Systems Administrator
- Tech Tip: Really Simple HTTP Server with Python