Commit Graph

9 Commits

Author SHA1 Message Date
joerg
1203c26a96 Add printf-like annotation. 2016-05-30 22:02:41 +00:00
mlelstv
6fea88c26e Several improvents to iscsid
- debug log is now using syslog
- seperate options for log level and foreground mode
- writes a pidfile so that /etc/rc.d/iscsid works
  Now links with libutil for pidfile(), the functions login() and logout()
  needed to be renamed to avoid a conflict.
- drops the nothreads option
- handles signals to shut down gracefully
- the driver may also shut down the daemon when it terminates
  Currently this cannot work as the driver can only terminate when
  the daemon has closed the driver file handle.
2016-05-29 13:35:45 +00:00
riz
c08d1e5212 Make the debugging printouts actually work when setting the debug level,
and allow the level to be set numerically from the command line.
2012-05-28 00:13:19 +00:00
riz
1b247119f1 Implement the remaining bits of unthreaded operation. 2012-05-27 22:03:16 +00:00
riz
e754ddcc7f When ISCSI_NOTHREAD is defined, make UNLOCK_SESSIONS a different kind
of noop, so that things build.
2012-05-27 17:27:33 +00:00
agc
38a27f5af8 simplify code by removing a useless "#define STATIC static" in both debug
and normal usage, and all of its uses.
2011-11-20 01:23:57 +00:00
joerg
549f044e13 Use __dead 2011-11-17 16:20:47 +00:00
christos
f772004800 cleanup some messy casts and type violations.
XXX: There is one piece of code I marked that does not make sense.
Someone should take a look at it.
2011-10-29 16:54:49 +00:00
agc
75a17f3ce7 Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

	othersrc/external/bsd/iscsi/{iscsictl,iscsid}

to

	src/sbin/{iscsictl,iscsid}
2011-10-23 21:11:23 +00:00