Skip to main content

Thread: udev failure to run script with mypassport


hey,

i'm having trouble udev trigger event.
sync folders ext usb hdd every time connected.

looking @ device '/devices/pci0000:00/0000:00:1d.7/usb2/2-1/2
looking @ parent device '/devices/pci0000:00/0000:00:1d.7/usb2/2-1':
kernels=="2-1"
subsystems=="usb"
drivers=="usb"
attrs{configuration}==""
attrs{bnuminterfaces}==" 1"
attrs{bconfigurationvalue}=="1"
attrs{bmattributes}=="80"
attrs{bmaxpower}=="500ma"
attrs{urbnum}=="1695"
attrs{idvendor}=="1058"
attrs{idproduct}=="0730"

attrs{bcddevice}=="1015"
attrs{bdeviceclass}=="00"
attrs{bdevicesubclass}=="00"
attrs{bdeviceprotocol}=="00"
attrs{bnumconfigurations}=="1"
attrs{bmaxpacketsize0}=="64"
attrs{speed}=="480"
attrs{busnum}=="2"
attrs{devnum}=="45"
attrs{devpath}=="1"
attrs{version}==" 2.10"
attrs{maxchild}=="0"
attrs{quirks}=="0x0"
attrs{avoid_reset_quirk}=="0"
attrs{authorized}=="1"
attrs{manufacturer}=="western digital"
attrs{product}=="my passport 0730"
attrs{serial}=="57584c314531315a4d533936"

udev rule file mypassport.rules
kernel=="sd*1",
action=="add",
attrs{idvendor}=="1058",
attrs{idproduct}=="0730",
attrs{serial}=="57584c314531315a4d533936",
symlink+="mypassport",
run+="rsync --recursive --times --perms --delete /home/avdzm/pictures/* /media/$
#run+="echo ~/sync!!!"


cant figure out whats wrong....
assume symlink incorrect n possibly file name

suggestions?

i'll appreciate



Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware [ubuntu] udev failure to run script with mypassport


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support