9 Feb
2010
9 Feb
'10
12:51 p.m.
Barry Samuels <bjsamuels@beenthere-donethat.org.uk>
Can anyone tell me how I can get a command to run whenever a sata hard drive is connected?
Probably udev rules, but I've no experience in writing them for SATA drives. My USB flash rules look like: ACTION=="add", KERNEL=="sd*[0-9]", ENV{ID_SERIAL}=="0930_USB_Flash_Memory_0B70F57172221A70", RUN+="/sbin/mount /Mount/USB-Blue1" Hope that helps, -- MJ Ray (slef) Webmaster and LMS developer at | software www.software.coop http://mjr.towers.org.uk | .... co IMO only: see http://mjr.towers.org.uk/email.html | .... op