andvar
ff23aff6ad
fix various typos in comments, documentation and messages.
2022-05-31 08:43:13 +00:00
andvar
cdc507f0d2
fix various typos in comment, documentation and log messages.
2022-05-24 20:50:17 +00:00
pgoyette
9724d495e5
iscsid(8) no longer requires scsibus(4) and sd(4) to be built-in to
...
the kernel. The scsi_subr module will be loaded if needed to resolve
any dependencies.
2022-04-14 18:52:27 +00:00
joerg
6ce4f404a1
Fix depenency on common symbols in sbin.
2020-04-05 15:25:39 +00:00
mrg
82974f2217
check for snprintf() truncation and fail sanely if so, rather than
...
attempting to use a file that won't exist or isn't secure.
2019-02-04 08:21:11 +00:00
joerg
1203c26a96
Add printf-like annotation.
2016-05-30 22:02:41 +00:00
mlelstv
44b25f2fac
mark noreturn function exit_daemon() as __dead
2016-05-30 21:58:32 +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
tnn
c9f8274c3f
fix iSCSI RFC number
2015-11-10 12:41:18 +00:00
joerg
e85ef03b1e
Remove ISCSI_DEBUG branches.
2015-05-30 16:00:51 +00:00
joerg
a39ebfb79e
Move communication socket to /var/run, especially when starting iscsid
...
during boot, it might disappear otherwise.
2015-02-21 20:33:44 +00:00
zafer
9ac4e1c7a3
mention requirements for custom kernels.
2014-07-06 14:41:24 +00:00
riastradh
6cb10275d0
Merge riastradh-drm2 to HEAD.
2014-03-18 18:20:35 +00:00
dholland
cccb31c834
These pass WARNS=5, so don't set WARNS=4
2013-08-11 06:04:38 +00:00
wiz
a5684d07dd
Use Mt for email addresses.
2013-07-20 21:39:55 +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
mlelstv
af909e1586
use first successful connection to a ISNS server
2012-06-24 13:08:38 +00:00
wiz
c1043d5896
Sort option descriptions (options without args, then options with args).
2012-05-28 08:51:44 +00:00
wiz
cbfba0058c
Remove trailing whitespace.
2012-05-28 08:49:57 +00:00
riz
04f0598fd2
Fix up the wording of the new flags, and show that the -d flag
...
now takes an argument.
2012-05-28 00:45:31 +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
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
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
riz
1b247119f1
Implement the remaining bits of unthreaded operation.
2012-05-27 22:03:16 +00:00
riz
763e2736f6
Use Fl for the flags.
2012-05-27 20:11:58 +00:00
christos
f547f45639
use -n for nothreads.
2012-05-27 20:05:04 +00:00
christos
68a964c306
make the debug level available on the command line.
2012-05-27 19:52:51 +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
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
njoly
35d9543121
Fix title and xrefs.
2011-11-21 08:23:20 +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