NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/49616: iscsictl(8) example is outdated



>Number:         49616
>Category:       bin
>Synopsis:       iscsictl(8) example is outdated
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 31 15:25:00 +0000 2015
>Originator:     Andreas Gustafsson
>Release:        NetBSD 6.1.5
>Organization:

>Environment:
System: NetBSD guava.gson.org 6.1.5 NetBSD 6.1.5 (GENERIC) amd64
Architecture: x86_64
Machine: amd64
>Description:

The EXAMPLES section of the iscsictl(8) man page says:

     The initiator itself can be loaded as a kernel module, and works success-
     fully on 2.0 (the host called "burner"), running against the NetBSD tar-
     get on a 5.99 host.

     burner# modload -v -s -p /usr/lkm/iscsi_post.sh /usr/lkm/iscsidrv.o

(etc), but if I naively execute that command as-is on 6.1.5, I get

    modload: unknown option -- v
    Usage: modload [-fP] [-b var=boolean] [-i var=integer] [-s var=string] module
	   modload -p [-b var=boolean] [-d var] [-i var=integer] [-m plist]
		   [-s var=string]

Looks like the example needs some updating to apply to versions newer than 2.0.

>How-To-Repeat:

man iscsictl

>Fix:



Home | Main Index | Thread Index | Old Index