By the way, you can see the source code for iscsitadm here:

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/iscsi/iscsitadm/main.c

The 'listTarget()' function starts at line 967.

And take a look around line 1072.
Maybe the problem is here:

   1069                         n3 = tgt_node_next_child(n2, XML_ELEMENT_ALIAS, 
NULL);
   1070                         (void) printf("%s%s: %s\n", dospace(3),
   1071                             gettext("Alias"),
   1072                             n3 ? n3->x_value : gettext("unknown"));
 
Thanks
Nigel Smith
 
 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to