Linux without sysfs/debugfs filesystem

329 views Asked by At

I need to use a system without any sysfs/debugfs (this is a strong requirement, can't change it).

I need to understand how I can manage to set the Linux without this filesystem.

For example when configuring various omap PM (power management features) I need to set the following:

echo 1 > /dbg/pm_debug/sleep_while_idle

Do you think it is possible to set it as default to 1 for example (I don't need to change the value in runtime) ? How can it be done ?

1

There are 1 answers

0
ransh On BEST ANSWER

I find that the values that are set by sysfs/debugfs are actually set into some variables in kernel, so it is actually an issue of setting specific variables in kernel with predefind (default) value.