pub fn get_parent_devpath_from_path( dev_path: impl AsRef<Path>, ) -> BlockResult<Option<PathBuf>>
get the parent device path from a device path (If not a partition or disk, return None)