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