匿名
未登录
登录
百问网嵌入式Linux wiki
搜索
查看“Configfs”的源代码
来自百问网嵌入式Linux wiki
名字空间
页面
讨论
更多
更多
页面选项
Read
查看源代码
历史
←
Configfs
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
== Introduction == '''Configfs'''<ref name=configfsdoc>{{CodeSource | Linux kernel | Documentation/filesystems/configfs/configfs.txt}}</ref> is a RAM-based filesystem that provides the converse of sysfs functionality. While sysfs provides a filesystem-based view of kernel objects, configfs is a filesystem-based manager of kernel objects or config_items (every object in configfs is a config_item). This means that kernel objects can be created, managed and destroyed from the user space. == Installing configs on your target board == '''Configfs''' can be enabled and ready to be used in all STM32MPU Embedded Software distribution, via the Linux<sup>®</sup> kernel configuration '''CONFIG_CONFIGFS_FS''' (set to yes by default): Symbol: '''CONFIGFS_FS''' Location: File systems ---> Pseudo filesystems --> {{highlight|-*- Userspace-driven configuration filesystem}} Please refer to [[Menuconfig or how to configure kernel]] article for instructions for modifying the configuration and recompiling the Linux kernel image in the Distribution Package context. == Getting started == === How to mount configfs === Use the following command to mount '''Configfs''' at ''/sys/kernel/config'': {{Board$}} mount -t configfs none /sys/kernel/config === How to set and manage configfs from Linux kernel drivers and user space === Refer to the Linux documentation<ref name=configfsdoc/> for detailed information. {{ReviewsComments|Following link to be confirmed when fully completed}} Configfs is used by the USB framwework. Refer to [[USB_overview#API_description | USB API description]] for an example. == References == <references /> <noinclude> [[Category:OpenSTLinux filesystem|02]] {{PublicationRequestId | 10267 | 2019-01-14 | AnneJ}} </noinclude>
该页面使用的模板:
模板:Board$
(
查看源代码
)
模板:CodeSource
(
查看源代码
)
模板:Highlight
(
查看源代码
)
模板:PublicationRequestId
(
查看源代码
)
模板:ReviewsComments
(
查看源代码
)
返回至
Configfs
。
导航
导航
WIKI首页
官方店铺
资料下载
交流社区
所有页面
所有产品
MPU-Linux开发板
MCU-单片机开发板
Linux开发系列视频
单片机开发系列视频
所有模块配件
Wiki工具
Wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志