Jay Otis wrote: > Hello all, I am using Ubuntu Hardy and I need to change the > "max_sectors" attribute of my usb device on boot but RUN+="/bin/echo > 1024 > /sys/block/%k/device/max_sectors" does not seem to change the > value. I've tried su -... and su username -c... the command runs from > a root terminal and from a startup script in init.d just not from udev > :s Redirection is a shell function. udev does not automatically run commands through a shell. Try RUN+="/bin/sh -c echo 1024 > /sys/block/%k/device/max_sectors" Regards Alan -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html