On 10/29/2013 09:54 AM, Christophe Vu-Brugier wrote:
On Tue, 29 Oct 2013 17:40:50 +0100, Thomas Glanzmann wrote :
UPSTREAM:
for i in /sys/kernel/config/target/iscsi/iqn*/tpgt*/acls/*/info; do echo "${i}:"; cat "${i}"; echo; done
This only works with explicit node ACL. When generate_nodes_acls is set
to 1, there is no ACL node and consequently no acls/$IQN/info entry.
Maybe Thomas had the right idea, and generated node acls should just
show up with the regular ACLs, of course with an attribute or something
to tell them apart?
It would be more uniform, and also perhaps make converting an
autogenerated to an explicit acl easier -- I think I saw kernel code to
support this but I'm not sure how accessible this feature currently is...?
-- Andy
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html