On 04/07/2017 08:18 AM, Christoph Hellwig wrote: > On Fri, Apr 07, 2017 at 02:01:15PM +0200, Christophe Vu-Brugier wrote: >> Hi, >> >> On Fri, 07 Apr 2017 02:28:45 -0400, uhmgawa wrote : >>> I'm trying to enable iscsi target support in an embedded device where >>> python isn't available. So use of targetcli isn't an option. The use >>> case at hand is quite simple, where a file is to be exported as an iSCSI >>> device which AFAICT requires simple setup of the target config in >>> /sys/kernel/config. >> I had the same needs a few years ago and wrote the following shell >> script: >> >> https://github.com/cvubrugier/target-scripts >> >> Hope that helps, It did indeed. Many thanks. > Interesting. Any chance you could submit it to the kernel tree as > an example script? That's a great suggestion. There appears to otherwise be no concise documentation for direct configfs configuration of the target, which by itself strikes me as a bit mysterious. -- 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