Optional run 2-3 args + -c flag
This commit is contained in:
parent
4d504f70d1
commit
2a2cf158fd
4 changed files with 69 additions and 23 deletions
|
|
@ -286,8 +286,6 @@ func getDevicePassthroughConfig(val string) (*vm.PassthroughConfig, error) {
|
|||
|
||||
slog.Warn("RISK WARNING: Skipping device block size detection and using the default of 512 bytes. Please use this ONLY to recover data from disks with filesystem that were locked to emulated 512-byte block size.")
|
||||
|
||||
// TODO: Remove the need to specify the FS type manually.
|
||||
|
||||
devPath := filepath.Clean(valSplit[1])
|
||||
|
||||
err := osspecifics.CheckValidDevicePath(devPath)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue