CVS commit: src/etc/iscsi

2023-05-21 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun May 21 12:02:43 UTC 2023

Modified Files:
src/etc/iscsi: volumes

Log Message:
iscsictl uses authentication types (n)one, (c)hap and mutual (C)hap.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/etc/iscsi/volumes

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/etc/iscsi

2023-05-21 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun May 21 12:02:43 UTC 2023

Modified Files:
src/etc/iscsi: volumes

Log Message:
iscsictl uses authentication types (n)one, (c)hap and mutual (C)hap.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/etc/iscsi/volumes

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/iscsi/volumes
diff -u src/etc/iscsi/volumes:1.1 src/etc/iscsi/volumes:1.2
--- src/etc/iscsi/volumes:1.1	Fri Feb  3 20:16:03 2023
+++ src/etc/iscsi/volumes	Sun May 21 12:02:43 2023
@@ -1,4 +1,4 @@
-# $NetBSD: volumes,v 1.1 2023/02/03 20:16:03 mlelstv Exp $
+# $NetBSD: volumes,v 1.2 2023/05/21 12:02:43 mlelstv Exp $
 #
 # Each line has 5 or 6 fields separated by white space
 # Comment lines start with #
@@ -6,7 +6,7 @@
 # Host - the iSCSI server name, optionally followed by :port number
 # Target - the iSCSI IQN target name
 # Digest - '-' (none), 'd' (data CRC), 'h' (header CRC), 'dh' (both)
-# Auth - '-' (none), 'c' (CHAP), 'C' (mutual CHAP)
+# Auth - 'n' (none), 'c' (CHAP), 'C' (mutual CHAP)
 # User - name of user from /etc/iscsi/auths
 # Alias - optional, another name for the target
 #



CVS commit: src/etc/iscsi

2023-02-05 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Feb  5 21:20:15 UTC 2023

Modified Files:
src/etc/iscsi: Makefile

Log Message:
With MKISCSI we need all files.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/etc/iscsi/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/etc/iscsi

2023-02-05 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Feb  5 21:20:15 UTC 2023

Modified Files:
src/etc/iscsi: Makefile

Log Message:
With MKISCSI we need all files.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/etc/iscsi/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/iscsi/Makefile
diff -u src/etc/iscsi/Makefile:1.6 src/etc/iscsi/Makefile:1.7
--- src/etc/iscsi/Makefile:1.6	Sun Feb  5 13:39:42 2023
+++ src/etc/iscsi/Makefile	Sun Feb  5 21:20:14 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2023/02/05 13:39:42 mlelstv Exp $
+#	$NetBSD: Makefile,v 1.7 2023/02/05 21:20:14 mlelstv Exp $
 
 .include 
 
@@ -10,7 +10,7 @@ FILESMODE_volumes=	0644
 # userland iSCSI initiator and target
 .if ${MKISCSI} != "no"
 
-CONFIGFILES=	auths targets
+CONFIGFILES+=	auths targets
 FILESMODE_auths=	0600
 FILESMODE_targets=	0644
 



CVS commit: src/etc/iscsi

2023-02-05 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Feb  5 13:39:42 UTC 2023

Modified Files:
src/etc/iscsi: Makefile

Log Message:
Fix build without MKISCSI


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/etc/iscsi/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/etc/iscsi

2023-02-05 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Sun Feb  5 13:39:42 UTC 2023

Modified Files:
src/etc/iscsi: Makefile

Log Message:
Fix build without MKISCSI


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/etc/iscsi/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/iscsi/Makefile
diff -u src/etc/iscsi/Makefile:1.5 src/etc/iscsi/Makefile:1.6
--- src/etc/iscsi/Makefile:1.5	Fri Feb  3 15:59:04 2023
+++ src/etc/iscsi/Makefile	Sun Feb  5 13:39:42 2023
@@ -1,15 +1,21 @@
-#	$NetBSD: Makefile,v 1.5 2023/02/03 15:59:04 mlelstv Exp $
+#	$NetBSD: Makefile,v 1.6 2023/02/05 13:39:42 mlelstv Exp $
 
 .include 
 
+# kernel iSCSI initiator
+CONFIGFILES=	volumes
+FILESDIR=   	/etc/iscsi
+FILESMODE_volumes=	0644
+
+# userland iSCSI initiator and target
 .if ${MKISCSI} != "no"
 
-CONFIGFILES=	auths targets volumes
-FILESDIR=   	/etc/iscsi
+CONFIGFILES=	auths targets
 FILESMODE_auths=	0600
 FILESMODE_targets=	0644
 
 .endif
 
+
 .include 
 .include 



CVS commit: src/etc/iscsi

2023-02-03 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Feb  3 20:16:03 UTC 2023

Added Files:
src/etc/iscsi: volumes

Log Message:
Add missing template file for iscsid_volumes.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/etc/iscsi/volumes

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/etc/iscsi

2023-02-03 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Feb  3 20:16:03 UTC 2023

Added Files:
src/etc/iscsi: volumes

Log Message:
Add missing template file for iscsid_volumes.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/etc/iscsi/volumes

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: src/etc/iscsi/volumes
diff -u /dev/null src/etc/iscsi/volumes:1.1
--- /dev/null	Fri Feb  3 20:16:03 2023
+++ src/etc/iscsi/volumes	Fri Feb  3 20:16:03 2023
@@ -0,0 +1,17 @@
+# $NetBSD: volumes,v 1.1 2023/02/03 20:16:03 mlelstv Exp $
+#
+# Each line has 5 or 6 fields separated by white space
+# Comment lines start with #
+#
+# Host - the iSCSI server name, optionally followed by :port number
+# Target - the iSCSI IQN target name
+# Digest - '-' (none), 'd' (data CRC), 'h' (header CRC), 'dh' (both)
+# Auth - '-' (none), 'c' (CHAP), 'C' (mutual CHAP)
+# User - name of user from /etc/iscsi/auths
+# Alias - optional, another name for the target
+#
+# for mutual CHAP, the target name is used to lookup the secret from
+# /etc/iscsi/auths
+#
+#
+# Host   Target Digest Auth User   Alias



CVS commit: src/etc/iscsi

2023-02-03 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Feb  3 15:59:04 UTC 2023

Modified Files:
src/etc/iscsi: Makefile

Log Message:
missed commit for iscsid_volumes


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/etc/iscsi/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/iscsi/Makefile
diff -u src/etc/iscsi/Makefile:1.4 src/etc/iscsi/Makefile:1.5
--- src/etc/iscsi/Makefile:1.4	Tue Aug 30 13:40:37 2022
+++ src/etc/iscsi/Makefile	Fri Feb  3 15:59:04 2023
@@ -1,10 +1,10 @@
-#	$NetBSD: Makefile,v 1.4 2022/08/30 13:40:37 riastradh Exp $
+#	$NetBSD: Makefile,v 1.5 2023/02/03 15:59:04 mlelstv Exp $
 
 .include 
 
 .if ${MKISCSI} != "no"
 
-CONFIGFILES=	auths targets
+CONFIGFILES=	auths targets volumes
 FILESDIR=   	/etc/iscsi
 FILESMODE_auths=	0600
 FILESMODE_targets=	0644



CVS commit: src/etc/iscsi

2023-02-03 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Feb  3 15:59:04 UTC 2023

Modified Files:
src/etc/iscsi: Makefile

Log Message:
missed commit for iscsid_volumes


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/etc/iscsi/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.