2005/12/30, Aaron Gyes <[EMAIL PROTECTED]>: > On Sun, 2005-11-20 at 11:55 -0500, Alan Stern wrote: > > echo -n 3 >/sys/block/sdb/device/../../../power/state > > echo -n 3 >/sys/block/sdb/device/../../../../power/state > > Sorry about my terrible lag. Things came up and I forgot all about this. > I can't figure out which power/state file you want me to attack. What do > the /../'s represent? taken literally (parent) they put me > outside /sys/.
device is a symbolic link. The actual state file can simply be accessed with /sys/block/sdb/device/power/state -- eat(this); // delicious suicide ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
