Home
Sign Up
Sign In
Distributions
›
Ubuntu
›
Fedora
›
CentOS
中文资源站
›
网易开源镜像站
V2EX
›
Linux
用内核模块或 libfuse 实现一个文件系统,如何添加特有的 API?
mokiki
·
Sep 8, 2022
· 1853 views
This topic created in 1371 days ago, the information mentioned may be changed or developed.
比如说,我想设计一个文件系统,提供 get_hash (filename ,hash_type) 给其它程序使用。
如果用 libfuse 实现的话,还需要额外在内核源码里添加修改什么吗?
libfuse
内核
hash_type
filename
2 replies
•
2022-09-08 12:55:59 +08:00
1
ysc3839
Sep 8, 2022
1
ioctl?
http://libfuse.github.io/doxygen/example_2ioctl_8c.html
http://libfuse.github.io/doxygen/example_2ioctl__client_8c.html
2
julyclyde
Sep 8, 2022
@
ysc3839
总感觉 ioctl 像一个持久化的操作
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
880 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms ·
UTC 20:53
·
PVG 04:53
·
LAX 13:53
·
JFK 16:53
♥ Do have faith in what you're doing.
❯