Source-Changes-HG archive

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

[src/trunk]: src/sbin/iscsictl PR/49616 - Andreas Gustafsson -- bring modload...



details:   https://anonhg.NetBSD.org/src/rev/41ffddcb80d8
branches:  trunk
changeset: 340293:41ffddcb80d8
user:      jnemeth <jnemeth%NetBSD.org@localhost>
date:      Sun Aug 30 10:46:52 2015 +0000

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

diffstat:

 sbin/iscsictl/iscsictl.8 |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 5ceb4db09f5d -r 41ffddcb80d8 sbin/iscsictl/iscsictl.8
--- a/sbin/iscsictl/iscsictl.8  Sun Aug 30 09:46:57 2015 +0000
+++ b/sbin/iscsictl/iscsictl.8  Sun Aug 30 10:46:52 2015 +0000
@@ -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@localhost>
 .\" 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 @@
 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



Home | Main Index | Thread Index | Old Index