./sysutils/mdprint [print sun4v machine descriptions]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 1.3, Package name: mdprint-1.3
Maintained by: Klemens Nanni
Master sites:
Description
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.


Filesize: 3087.678 KB
Version History (View Complete History)
  • (2020-03-21) Package added to openports.se, version mdprint-1.3 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2020-05-14 13:12:09 by Klemens Nanni | Files touched by this commit (3)
Log message:
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 13:09:32 by Klemens Nanni | Files touched by this commit (1)
Log message:
Extract only the script we need, use a variable