核心成果: - fuse-t库成功纳入项目(build.rs + Cargo.toml) - fuse-backend-rs API完整实现(270行代码) - FileSystem trait完整重写(lookup/getattr/read/readdir/open/release/opendir/releasedir/statfs) - ZeroCopyWriter API正确集成(write_from方法) - 服务循环正确实现(get_request + handle_message) 技术实现: - 依赖:fuse-backend-rs(fusedev + fuse-t features) - 链接:fuse-t库(pkg-config + DiskArbitration framework) - 数据库:find_node_id_by_parent方法新增 - API:DirEntry/Entry/stat64正确使用 - 服务:FuseSession/FuseChannel正确集成 编译状态: - 8警告,0错误 - 成功编译markbase-fuse库和main程序 状态:Phase 3完整实施完成
29 lines
574 B
TOML
29 lines
574 B
TOML
[package]
|
|
name = "markbase-fuse"
|
|
version = "0.2.0"
|
|
edition = "2021"
|
|
|
|
|
|
build = "build.rs"
|
|
|
|
[[bin]]
|
|
name = "markbase-fuse"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
name = "markbase_fuse"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
clap = { version = "4", features = ["derive"] }
|
|
filetree = { path = "../filetree" }
|
|
fuse-backend-rs = { path = "../fuse-backend-rs-fork", features = ["fusedev", "fuse-t"] }
|
|
libc = "0.2"
|
|
log = "0.4"
|
|
rusqlite = { version = "0.32", features = ["bundled"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
time = "0.3"
|
|
vm-memory = "0.17"
|