Support --rw-blockdev option for usage with read-only/forensic like devices
authorMichael Prokop <mika@grml.org>
Thu, 13 Apr 2017 21:47:47 +0000 (23:47 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 13 Apr 2017 21:50:51 +0000 (23:50 +0200)
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.


No differences found