Add support for statfs and fstatfs

This commit is contained in:
LI Qing
2023-07-03 13:29:02 +08:00
committed by Tate, Hongliang Tian
parent 9f1680d0f3
commit 743344e3fc
13 changed files with 128 additions and 17 deletions

View File

@ -14,7 +14,7 @@ mod self_;
mod template;
/// Magic number.
const PROC_MAGIC: usize = 0x9fa0;
const PROC_MAGIC: u64 = 0x9fa0;
/// Root Inode ID.
const PROC_ROOT_INO: usize = 1;
/// Block size.