Function disk_types::sectors_used
source · pub fn sectors_used<P: AsRef<Path>>(part: P, fs: FileSystem) -> Result<u64>Expand description
Executes a given file system’s dump command to obtain the minimum shrink size
pub fn sectors_used<P: AsRef<Path>>(part: P, fs: FileSystem) -> Result<u64>Executes a given file system’s dump command to obtain the minimum shrink size