man pages(1M): Dynamic Reconfiguration Administration Commands
  Search only this book
Download this book in PDF

NAME

dr_cmd_unsafe_dev_info - show a domain's open, unsafe devices in TCL encoding

SYNOPSIS

dr_cmd_unsafe_dev_info

DESCRIPTION

Caution:
Do not use this command, which runs in the DR shell; it is included here only for completeness. Instead, use drshow(1M), which displays the information in a more readable format.
dr_cmd_unsafe_dev_info queries the target domain to determine if any unsafe peripheral devices are open. (See the Dynamic Reconfiguration User's Guide for more information concerning DR unsafe devices.) If it finds that any such devices are open, it returns that information in a Tcl list encoding, which is used by the drview(1M) application.
If dr_cmd_unsafe_dev_info succeeds it returns a 0 result code in the dr_return global variable. If it fails, it returns a 1 and displays diagnostic messages.
Note:
Tcl parsing errors prevent DR commands from running which, in turn, leaves dr_return uninitialized. In such cases, the dr_return error code is meaningless. See dr (1M)for more information concerning return codes.