This commit is contained in:
		@@ -223,10 +223,10 @@ impl DiskFileInfo {
 | 
			
		||||
 | 
			
		||||
            // Render raw file sparse
 | 
			
		||||
            (DiskFileFormat::Raw { is_sparse: false }, DiskFileFormat::Raw { is_sparse: true }) => {
 | 
			
		||||
                let mut cmd = Command::new(constants::COPY_PROGRAM);
 | 
			
		||||
                cmd.arg("--sparse=always")
 | 
			
		||||
                    .arg(&self.file_path)
 | 
			
		||||
                    .arg(&temp_file);
 | 
			
		||||
                let mut cmd = Command::new(constants::DD_PROGRAM);
 | 
			
		||||
                cmd.arg("conv=sparse")
 | 
			
		||||
                    .arg(format!("if={}", self.file_path.display()))
 | 
			
		||||
                    .arg(format!("of={}", temp_file.display()));
 | 
			
		||||
                cmd
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user