LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-07-2010, 11:57 AM   #16
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,577
Blog Entries: 31

Rep: Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196

Although the new question is related, it is in a different topic area so it would be preferable to start a new thread (for the benefit of anyone searching to solve a similar question) so I'll answer briefly; if it is not enough then please start a new thread.

udev rules can be used to run a script (with root privileges) when a device is plugged in or on power up. See Daniel Drake's "Writing udev rules" but is a little dated, for example udevadm has replaced udevinfo on recent systems. Potential gotchas are that udev may not set a sane PATH (so set PATH in the script or give full paths to all executables) and any error messages (essential while debugging) will not be recorded (so use syslog to capture debugging output and error messages).

If you are using a graphical desktop environment then there are several utilities that a script can use to display an interactive dialog; zenity is popular, yad would be a good choice. One gotcha is that the script run by udev does not know which X display to use. On a single user system (so only one X display in use) this can be solved by export DISPLAY='localhost:0.0'.
 
Old 09-07-2010, 07:25 PM   #17
lpallard
Member
 
Registered: Nov 2008
Posts: 987

Original Poster
Rep: Reputation: Disabled
catkin, thanks for the reply! I opened a new thread in the hardware section of the forum because I figured you're right, people would benefit from that...

http://www.linuxquestions.org/questi...losure-830871/

I will post my coments and results there instead of here on this thread.

Thanks for your support!
 
Old 09-12-2010, 08:58 PM   #18
granth
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212

Rep: Reputation: 55
Using rsnapshot(rsync) over SSH will be much faster than over NFS.

http://www.mail-archive.com/rsync@li.../msg14755.html
 
Old 01-08-2011, 06:48 PM   #19
lpallard
Member
 
Registered: Nov 2008
Posts: 987

Original Poster
Rep: Reputation: Disabled
No longer necessary, the HDD enclosures have been sold.
 
Old 01-09-2011, 08:52 AM   #20
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 534
Blog Entries: 3

Rep: Reputation: 118Reputation: 118
Cool

Quote:
Originally Posted by lpallard View Post
I use slackware 13 on ALL of my machines.



Thanks!!
That is very good. Our Kung Fu is strong!
 
Old 01-09-2011, 09:31 AM   #21
lpallard
Member
 
Registered: Nov 2008
Posts: 987

Original Poster
Rep: Reputation: Disabled
You bet!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Using rsnapshot with sshfs to backup lpallard Linux - Software 3 08-29-2012 10:41 AM
Backup VM using rsnapshot cccc Linux - Virtualization and Cloud 3 02-05-2010 08:35 AM
Rsnapshot and Backup Strategy Woodsman Slackware 2 04-28-2008 10:48 PM
Using rsnapshot to make a system backup Transition Slackware 1 03-21-2005 09:23 PM
Remote, automated backup: Windows --> Linux server hamish Linux - Software 1 12-07-2004 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration