LWN.net Logo

Can we admit that sysfs was a really bad idea?

Can we admit that sysfs was a really bad idea?

Posted Mar 17, 2010 20:27 UTC (Wed) by daniel (subscriber, #3181)
In reply to: Can we admit that sysfs was a really bad idea? by quotemstr
Parent article: A critical look at sysfs attribute values

"Try using sudo to modify a sysctl value: you have to use something like sudo sh -c 'echo foo > /sys/bar' instead of a nice simple sudo sysctl bar=5'"

maybe try: echo foo | sudo tee /sys/bar


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds