From owner-freebsd-scsi@FreeBSD.ORG Thu Sep 5 18:47:12 2013 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7714AC50; Thu, 5 Sep 2013 18:47:12 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 312852856; Thu, 5 Sep 2013 18:47:11 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 0D88628429; Thu, 5 Sep 2013 20:47:04 +0200 (CEST) Received: from [192.168.1.2] (ip-89-177-49-222.net.upcbroadband.cz [89.177.49.222]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id D345E28426; Thu, 5 Sep 2013 20:47:02 +0200 (CEST) Message-ID: <5228D1A6.4020405@quip.cz> Date: Thu, 05 Sep 2013 20:47:02 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: =?ISO-8859-2?Q?Edward_Tomasz_Napiera=B3a?= Subject: Re: New iSCSI stack. References: <34CEBF66-08BF-4265-8558-4A4A62109C77@FreeBSD.org> In-Reply-To: <34CEBF66-08BF-4265-8558-4A4A62109C77@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-scsi@freebsd.org, freebsd-current@freebsd.org, Ivan Voras , freebsd-arch@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Sep 2013 18:47:12 -0000 Edward Tomasz Napierała wrote: > Wiadomość napisana przez Ivan Voras w dniu 5 wrz 2013, o godz. 13:18: >> On 05/09/2013 12:27, Edward Tomasz Napierała wrote: >>> Hello. At http://people.freebsd.org/~trasz/cfiscsi-20130904.diff you'll find >>> a patch which adds the new iSCSI initiator and target, against 10-CURRENT. >>> To use the new initiator, start with "man iscsictl". For the target - "man >>> ctld". >> >> Just a naming question: "ctld" could mean anything, I'd parse it as a >> "control deamon" or something like that. Could you name it something >> which reminds the user of iscsi? Like iscsictld? > > As the man page says, ctld is "CAM Target Layer / iSCSI target daemon". > Sure, right now it's pretty iSCSI-specific, but it doesn't need to be - it can > be extended to just manage CTL configuration (e.g. for Fibre Channel), > or to support other CTL-backed storage protocols, such as FCoE. > > It's just a helper daemon for ctl(4) - thus, ctld(8). And in case someone > does "man -k iscsi", there is the "iSCSI target" in the manual page title. I understand your explanation, but still thinking rc.conf variables are really confusing and unintuitive: iscsid_enable iscsictl_enable ctld_enable I cannot tell what they control just by their names and the same apply for services names. "If I want to restart iscsi target, should I use 'service iscsid restart' or 'service iscsictl restart'? ... oh wait, it should be 'service ctld restart'" I think it should be more user friendly. Something as Apache 2.2.x has httpd and httpd.conf, but users are using 'service apache22 restart' and 'apache22_enable="YES"', because there can be more "http" daemons. My $0.02 Miroslav Lachman