Module Name: src
Committed By: jnemeth
Date: Sun Aug 30 10:46:53 UTC 2015
Modified Files:
src/sbin/iscsictl: iscsictl.8
Log Message:
PR/49616 - Andreas Gustafsson -- bring modload example into era of MODULAR
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sbin/iscsictl/iscsictl.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/iscsictl/iscsictl.8
diff -u src/sbin/iscsictl/iscsictl.8:1.7 src/sbin/iscsictl/iscsictl.8:1.8
--- src/sbin/iscsictl/iscsictl.8:1.7 Tue Mar 18 18:20:38 2014
+++ src/sbin/iscsictl/iscsictl.8 Sun Aug 30 10:46:52 2015
@@ -1,4 +1,4 @@
-.\" $NetBSD: iscsictl.8,v 1.7 2014/03/18 18:20:38 riastradh Exp $
+.\" $NetBSD: iscsictl.8,v 1.8 2015/08/30 10:46:52 jnemeth Exp $
.\"
.\" Copyright (c) 2011 Alistair Crooks <[email protected]>
.\" All rights reserved.
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd May 26, 2012
+.Dd August 30, 2015
.Dt ISCSICTL 8
.Os
.Sh NAME
@@ -265,9 +265,10 @@ on 2.0 (the host called "burner"), runni
target on a 5.99 host.
.Pp
.Bd -literal
-burner# modload -v -s -p /usr/lkm/iscsi_post.sh /usr/lkm/iscsidrv.o
-modload: reserving 36864 bytes of memory
-Module loaded as ID 0
+burner# modload iscsi
+burner# modstat iscsi
+NAME CLASS SOURCE REFS ADDRESS SIZE REQUIRES
+iscsi driver filesys 0 ffffffff813c6000 44208 -
burner# iscsid
iSCSI Daemon loaded
burner# iscsictl add_send_target -a 172.16.135.133