From: Michael Prokop Date: Thu, 13 Apr 2017 21:47:47 +0000 (+0200) Subject: Support --rw-blockdev option for usage with read-only/forensic like devices X-Git-Tag: v0.15.0~1 X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=commitdiff_plain;h=5033f52497a444831696f178ba6ee77722a4533d;hp=5033f52497a444831696f178ba6ee77722a4533d Support --rw-blockdev option for usage with read-only/forensic like devices If the system is running in a read-only mode for devices and setting devices to read-only when they appear (e.g. partition table scans) then we need to explictely set read-write mode on the involved devices (e.g. /dev/sdx + /dev/sdx2 if /dev/sd2 is the target partition). Be aware that you might have to use the --skip-bootflag option as well then, because this option triggers parted code which is behaving bad with read-only devices. ---