pub fn mount_typed(dev: &str, fstype: &str, target: &Utf8Path) -> Result<()>Expand description
Mount a device with an explicit filesystem type.
This avoids relying on the mount utility’s blkid auto-detection,
which can fail in certain container environments (e.g. when the
required filesystem kernel module is not yet loaded and the blkid
probe doesn’t work, causing mount to fall back to iterating
/etc/filesystems and /proc/filesystems).