Home
Sign Up
Sign In
Distributions
›
Ubuntu
›
Fedora
›
CentOS
中文资源站
›
网易开源镜像站
V2EX
›
Linux
用内核模块或 libfuse 实现一个文件系统,如何添加特有的 API?
mokiki
·
Sep 8, 2022
· 2146 views
This topic created in 1541 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
ysc3839
Sep 8, 2022
1
1
ioctl?
http://libfuse.github.io/doxygen/example_2ioctl_8c.html
http://libfuse.github.io/doxygen/example_2ioctl__client_8c.html
julyclyde
Sep 8, 2022
2
@
ysc3839
总感觉 ioctl 像一个持久化的操作
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
964 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms ·
UTC 22:46
·
PVG 06:46
·
LAX 14:46
·
JFK 17:46
♥ Do have faith in what you're doing.
❯