Skip to main content

walk_filesystems

Function walk_filesystems 

Source
pub fn walk_filesystems<P: PhysicalMemoryProvider>(
    reader: &ObjectReader<P>,
) -> Result<Vec<MountInfo>>
Expand description

Walk all mounted filesystems visible from init’s mount namespace.

Follows init_task.nsproxy → mnt_namespace.list to enumerate struct mount entries, reading dev_name, mountpoint, and fs type.