Actions
Bug #3813
opencfgadm: No matching library found
Status:
New
Priority:
Low
Assignee:
-
Category:
cmd - userland programs
Start date:
2013-06-14
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
The error should not be printed here:
$ cfgadm -la sata0/1 Ap_Id Type Receptacle Occupant Condition sata0/1::dsk/c5t1d0 cd/dvd connected configured ok sata0/1: No matching library found $
Updated by Marcel Telka almost 10 years ago
The problem seems to be in arg_got_resp(). The function does not mark the input parameter (sata0/1) as "responded" (inp->resp is not set to 1) even the output is printed for it. The dynamic attachment is causing the problem. It is handled differently here in arg_got_resp() and out_was_req().
So as a result, the arg_got_resp() won't mark sata0/1 as responded, but out_was_req() will make sure the "sata0/1::dsk/c5t1d0" is printed.
Actions