Add dd image mounting script #18
Labels
No labels
AutoScripts
Bug
Duplicate
Enhancement
HW-Diagnostics
Invalid
Linux
Question
UFD
WinPE
Windows
WontFix
ddrescue-tui
macOS
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: 2Shirt/WizardKit#18
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Quick three-liner:
dd_loop="$(losetup -f)"sudo losetup -P ${dd_loop} [path-to-dd-image]for d in ${dd_loop}*; do udevil mount -o ro $d; doneThoughts:
Check if single loop or multiple partitions and mount accordingly