head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.8 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.4 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2; locks; strict; comment @# @; 1.2 date 2011.02.22.13.33.22; author sborrill; state dead; branches; next 1.1; 1.1 date 2011.02.09.09.41.45; author rumko; state Exp; branches; next ; desc @@ 1.2 log @Update to 20110222. Changes include - man page claims that you can use auth type = none, but in reality this didn't work (insisted on a username being given and then used, plus always advertised CHAP to the target). Make initiator work as advertised (i.e. defaults to auth type none and so don't require a username). - document -D option to iscsi-initiator - Remove hostname from pathname to storage in mount point. This means /mnt/mytarget.domain.local/target0/storage is now /mnt/target0/storage. - Note limitations of CHAP implementation in BUGS section. - Skip target if TargetName is empty. - Use relevant TargetAddress, not just first one we happen to find. - Handle NOP-OUT CmdSN and immediate bit. - Handle NOP-IN TransferTag=0xffffffff. - Interim solution for dealing with Underflow bit in iSCSI response. - iscsi-initiator now talks to istgt and other targets. - Retry read capacity. Device may not be ready on first access, so need to wait and re-issue. @ text @$NetBSD: patch-aa,v 1.1 2011/02/09 09:41:45 rumko Exp $ --- src/lib/initiator.c.orig 2011-02-07 21:24:46 +0100 +++ src/lib/initiator.c 2011-02-07 21:24:56 +0100 @@@@ -57,6 +57,10 @@@@ #ifdef HAVE_NETINET_TCP_H #include #endif + +#ifdef HAVE_INTTYPES_H +#include +#endif #ifdef HAVE_SIGNAL_H #include @ 1.1 log @Add missing header for DragonFly To compile initiator.c, inttypes.h has to be included like it is for some of the other files. ok@@ agc @ text @d1 1 a1 1 $NetBSD$ @