andvar
ff23aff6ad
fix various typos in comments, documentation and messages.
2022-05-31 08:43:13 +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
mlelstv
4fa33b60bd
Handle invalid messages more gracefully, handle sessions with no valid
...
connections, and be more verbose about errors.
2012-12-29 08:28:20 +00:00
riz
57488d154f
Fix 4 more instances of the same bug (not returning NULL when stuff
...
not found). While I'm here, add comments so it hopefully doesn't happen
again.
2012-05-28 00:37:55 +00:00
riz
d94a631efa
Fix a bug introduced in rev 1.2: return "curr", like the debugging
...
says we're doing, because it, unlike "t", will propely be NULL when
the target name isn't found in the list. Now we can have multiple
targets again!
2012-05-27 23:54:45 +00:00
christos
f547f45639
use -n for nothreads.
2012-05-27 20:05:04 +00:00
riz
42b7a81606
Don't try to print pointers as integers, use %p instead and don't cast.
2012-05-27 16:50:32 +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
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