Merge pull request #197 from arihant2math/sysfs

This commit is contained in:
Ashwin Naren
2026-02-09 13:59:28 -08:00
committed by GitHub
6 changed files with 413 additions and 1 deletions

View File

@@ -51,6 +51,8 @@ bitflags::bitflags! {
// Reserved psuedo filesystem instances created internally in the kernel.
pub const DEVFS_ID: u64 = 1;
pub const PROCFS_ID: u64 = 2;
pub const SYSFS_ID: u64 = 3;
pub const CGROUPFS_ID: u64 = 4;
pub const FS_ID_START: u64 = 10;
/// Trait for a mounted filesystem instance. Its main role is to act as a