Alter a sysfs attribute??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
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

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux