[Git-commits] [grml/grml-udev-config] 451331: scripts/forensic-mark-readonly: fix parent device ...
Michael Prokop
noreply at github.com
Sat Sep 12 00:42:35 CEST 2020
Branch: refs/heads/master
Home: https://github.com/grml/grml-udev-config
Commit: 451331668643dd76d51d53c8ca44069561f86d1d
https://github.com/grml/grml-udev-config/commit/451331668643dd76d51d53c8ca44069561f86d1d
Author: Michael Prokop <mika at grml.org>
Date: 2020-09-11 (Fri, 11 Sep 2020)
Changed paths:
M scripts/forensic-mark-readonly
Log Message:
-----------
scripts/forensic-mark-readonly: fix parent device handling + their usage via READONLY_IGNORE
With commit 31e81f4ab5 the parent device behavior was modified
in an unintended way: /dev/sda1 was set to read-only, even
if the underlying parent device /dev/sda was already set to r/w.
Fixed via proper quoting and invoking readlink on the /sys/...
directory from within the calculation of ${tmp_parent}.
Also support parent devices within the READONLY_IGNORE=... setting
in /etc/grml/forensic.conf, so it's possible to assign
READONLY_IGNORE='/dev/sda' and operate on e.g. /dev/sda1, expecting
to ignore /dev/sda1 as well as /dev/sda then.
This work was funded by Grml-Forensic.
(Internally recorded as release-planning issue #175.)
Commit: 2a7b533e961b8d6ea735237a86927473b2dccb8f
https://github.com/grml/grml-udev-config/commit/2a7b533e961b8d6ea735237a86927473b2dccb8f
Author: Michael Prokop <mika at grml.org>
Date: 2020-09-11 (Fri, 11 Sep 2020)
Changed paths:
M debian/changelog
Log Message:
-----------
Release new version 0.5.1
Compare: https://github.com/grml/grml-udev-config/compare/b2080fafcb86...2a7b533e961b
More information about the Git-commits
mailing list