Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
mokiki
V2EX  ›  Linux

用内核模块或 libfuse 实现一个文件系统,如何添加特有的 API?

  •  
  •   mokiki · Sep 8, 2022 · 1930 views
    This topic created in 1417 days ago, the information mentioned may be changed or developed.
    比如说,我想设计一个文件系统,提供 get_hash (filename ,hash_type) 给其它程序使用。

    如果用 libfuse 实现的话,还需要额外在内核源码里添加修改什么吗?
    2 replies    2022-09-08 12:55:59 +08:00
    julyclyde
        2
    julyclyde  
       Sep 8, 2022
    @ysc3839 总感觉 ioctl 像一个持久化的操作
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3057 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 03:33 · PVG 11:33 · LAX 20:33 · JFK 23:33
    ♥ Do have faith in what you're doing.