PR/49616 - Andreas Gustafsson -- bring modload example into era of MODULAR

This commit is contained in:
jnemeth 2015-08-30 10:46:52 +00:00
parent 6e6b8dea4c
commit aca6703611

View File

@ -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 <agc@NetBSD.org>
.\" 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"), running against the
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