简体   繁体   English

没有sysfs / debugfs文件系统的Linux

[英]Linux without sysfs/debugfs filesystem

I need to use a system without any sysfs/debugfs (this is a strong requirement, can't change it). 我需要使用没有任何sysfs / debugfs的系统(这是一个严格的要求,无法更改)。

I need to understand how I can manage to set the Linux without this filesystem. 我需要了解如何在没有此文件系统的情况下设法设置Linux。

For example when configuring various omap PM (power management features) I need to set the following: 例如,当配置各种omap PM(电源管理功能)时,我需要设置以下内容:

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) ? 您是否认为例如可以将其默认设置为1(我不需要在运行时更改值)? How can it be done ? 如何做呢 ?

我发现sysfs / debugfs设置的值实际上已设置为内核中的某些变量,因此,这实际上是在内核中使用predefind(默认)值设置特定变量的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM