4 Commits

Author SHA1 Message Date
sthen
d9cfe4113e bump REVISION; python 3 default changed to 3.8 2020-07-03 21:12:24 +00:00
kn
8cbde7a99b Fix "mdprint -p" (parsable output) for byte array values
I missed another sloppy conversion of tuples into hex encoded strings
while making this script run with Python 3.

Fix odd line break in DESCR while here.
2020-05-14 19:12:08 +00:00
kn
f4f0aa531a Extract only the script we need, use a variable 2020-05-14 19:09:32 +00:00
kn
8f15e3465c Import mdprint
Feedback OK jca

mdprint prints the contents of the provided binary sun4v MD file.

If no file is provided, the "guest MD" is read from the device file "/dev/mdesc"
which is expected to be present on all sun4v guest domains.

If no file is provided and the -P/--PRI option is used, the PRI
(physical resource inventory) MD is read from the device file
"/devices/pseudo/ds_pri@0:ds_pri" (Solaris only).

The complete PRI is only available on the "primary" domain.
2020-03-21 09:12:37 +00:00