diff --git a/CHANGELOG.md b/CHANGELOG.md index 28d3d296..27180e95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,16 @@ Release history for s390-tools (MIT version) -------------------------------------------- -* __v2.xx.x (2023-xx-xx)__ +* __v2.xx.x (2024-xx-xx)__ For Linux kernel version: 6.x Add new tools / libraries: Changes of existing tools: + - dbginfo.sh: update man page and copyright + - dbginfo.sh: fix relative path on script copy + - dbginfo.sh: check for Dynamic Partition Mode Bug Fixes: diff --git a/scripts/dbginfo.sh b/scripts/dbginfo.sh index cfcba2bf..7763067a 100755 --- a/scripts/dbginfo.sh +++ b/scripts/dbginfo.sh @@ -52,6 +52,14 @@ if test "x${PROCESSORVERSION}" = "xFF" || test "x${PROCESSORVERSION}" = "xff"; t else RUNTIME_ENVIRONMENT="LPAR" fi +# check for Dynamic Partition Mode +readonly DPM_UUID=$(grep "LPAR UUID" /proc/sysinfo | \ + sed 's/.*:[[:space:]]*\([[:graph:]]*\).*/\1/g') +if test "${#DPM_UUID}" -eq 0; then + DPM_MODE="NO" +else + DPM_MODE="YES" +fi readonly SYSTEMHOSTNAME="$(hostname -s 2>/dev/null)" # hostname of system being analysed readonly TERMINAL="$(tty 2>/dev/null)" # timeout seconds TOS / kill timeout TOKS @@ -156,7 +164,7 @@ print_check() { cat <