freebsd-dev/usr.sbin
Alexander Motin 920c6cbadc CTL LUN mapping rewrite.
Replace iSCSI-specific LUN mapping mechanism with new one, working for any
ports.  By default all ports are created without LUN mapping, exposing all
CTL LUNs as before.  But, if needed, LUN mapping can be manually set on
per-port basis via ctladm.  For its iSCSI ports ctld does it via ioctl(2).
The next step will be to teach ctld to work with FibreChannel ports also.

Respecting additional flexibility of the new mechanism, ctl.conf now allows
alternative syntax for LUN definition.  LUNs can now be defined in global
context, and then referenced from targets by unique name, as needed.  It
allows same LUN to be exposed several times via multiple targets.

While there, increase limit for LUNs per target in ctld from 256 to 1024.
Some initiators do not support LUNs above 255, but that is not our problem.

Discussed with:	trasz
MFC after:	2 weeks
Relnotes:	yes
Sponsored by:	iXsystems, Inc.
2015-02-01 21:50:28 +00:00
..
ac Move example to EXAMPLES. 2013-03-17 06:54:04 +00:00
accton
acpi Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
adduser use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
amd Remove GNU texinfo from base along with all info pages. 2015-01-02 18:45:03 +00:00
ancontrol Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
apm use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
apmd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
arp Speed up the lookup of interfaces when there are a large number 2014-04-05 22:13:32 +00:00
asf Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
audit Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
auditd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
auditdistd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
auditreduce Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
authpf Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
autofs When there are no automounted filesystems, autounmountd(8) should wait 2015-01-28 15:46:11 +00:00
bhyve Simplify instruction restart logic in bhyve. 2015-01-18 03:08:30 +00:00
bhyvectl Simplify instruction restart logic in bhyve. 2015-01-18 03:08:30 +00:00
bhyveload Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
binmiscctl Check for invalid length or more than max length for the interpreter, instead 2015-01-28 20:22:48 +00:00
bluetooth mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
boot0cfg Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
boot98cfg Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
bootparamd use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
bsdconfig Default bsdconfig timezone' and tzsetup' to `-s' in a VM. 2014-11-11 19:37:17 +00:00
bsdinstall Use MBR by default on BIOS systems. An increasing number of motherboards 2015-01-30 21:22:18 +00:00
bsnmpd mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
btxld Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
cdcontrol Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
chkgrp Clean up, reindent, add a special case for NIS / LDAP line 2014-12-14 16:17:48 +00:00
chown chown: Fix chown test number 2014-07-17 06:57:26 +00:00
chroot
ckdist Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
clear_locks Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
config Add -s option to config. 2015-01-29 22:49:30 +00:00
cpucontrol Restore the ABI of the cpuctl(4) ioctl request CPUCTL_CPUID, use 2014-06-20 13:13:38 +00:00
crashinfo Do not truncate the `command'' column in `ps'' output. 2013-12-25 15:23:01 +00:00
cron Readd Makefile.inc that were used to include upper level Makefile.inc and 2014-11-28 22:03:35 +00:00
crunch crunchide: Correct 64-bit section header offset 2015-01-16 18:59:15 +00:00
ctladm CTL LUN mapping rewrite. 2015-02-01 21:50:28 +00:00
ctld CTL LUN mapping rewrite. 2015-02-01 21:50:28 +00:00
ctm Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
daemon Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
dconschat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
devinfo Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
digictl
diskinfo Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
dumpcis use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
editmap Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
edquota Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
eeprom use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
etcupdate Rework the EXAMPLES section to be a bit clearer. 2014-10-29 18:01:09 +00:00
extattr Fix return type of extattr_set_* and fix rmextattr(8) utility. 2013-04-02 05:30:41 +00:00
extattrctl
fdcontrol
fdformat
fdread - Cleanups pc98 code. 2014-09-28 11:32:46 +00:00
fdwrite use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
fifolog Readd Makefile.inc that were used to include upper level Makefile.inc and 2014-11-28 22:03:35 +00:00
flowctl Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
freebsd-update Use "RCS tag" instead of "$FreeBSD$ tag", since svn will obediently 2014-12-22 23:03:18 +00:00
fstyp Improve wording. 2015-01-14 11:26:03 +00:00
ftp-proxy Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
fwcontrol use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
getfmac
getpmac
gpioctl Free the buffer returned by gpio_pin_list() after the use. 2014-12-31 21:58:03 +00:00
gssd mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
gstat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
hyperv Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, 2014-09-13 02:15:31 +00:00
i2c Fix a few cases of use of uninitialized variables. Found with -Wall. 2014-11-12 03:59:26 +00:00
ifmcstat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
inetd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
iostat Print transfer times for read, write, & overall independently. 2015-01-23 15:55:03 +00:00
ip6addrctl
ipfwpcap Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
iscsid Slightly polish iSCSI parameters negotiation. 2014-12-19 01:12:22 +00:00
jail Add allow.mount.fdescfs jail flag. 2015-01-28 21:08:09 +00:00
jexec Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
jls Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
kbdcontrol mdoc: remove EOL whitespace. 2014-12-29 13:50:59 +00:00
kbdmap More man pages that need to know about vt in addition to syscons. 2014-08-26 10:55:08 +00:00
keyserv Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
kgmon Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
kgzip use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
kldxref Reserve and ignore the a new module metadata type MDT_PNP_INFO for 2015-01-15 00:46:30 +00:00
lastlogin
lmcconfig Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
lpr Adjust printf format specifiers for dev_t and ino_t in user space. 2014-12-17 07:10:48 +00:00
lptcontrol
mailstats Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mailwrapper Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
makefs Fix a typo in the FFS maxbpg option, it was erroneously spelled maxbpf. 2015-01-12 19:26:31 +00:00
makemap Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
manctl
memcontrol
mergemaster Remove ia64. 2014-07-07 00:27:09 +00:00
mfiutil Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mixer use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
mld6query
mlxcontrol use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
mount_smbfs Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mountd When mountd is creating sockets, it iterates over all addresses specified 2015-01-19 00:33:32 +00:00
moused Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mptable use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
mptutil Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mtest Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
mtree Add a ${CP} alias for copying files in the build. 2015-01-16 21:39:08 +00:00
nandsim mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
nandtool Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ndiscvt Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ndp Fix "ndp -d hostname". 2014-07-18 06:48:02 +00:00
newsyslog If we fail to send a signal after rotation, print the pidfile from which 2014-10-08 17:44:30 +00:00
nfscbd
nfsd Fix markup for minthreads and maxthreads. 2015-01-01 06:53:33 +00:00
nfsdumpstate
nfsrevoke
nfsuserd mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
ngctl Plug mutex leak. 2015-01-16 18:51:26 +00:00
nghook Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
nmtree Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
nologin
nscd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ntp Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
nvram use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ofwdump Instead of iterating through all properties looking for a match, if asked 2015-01-16 18:42:49 +00:00
pc-sysinstall use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
pciconf Fix the following clang 3.6.0 warnings in pciconf: 2015-01-28 21:21:35 +00:00
periodic use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
pkg Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pmcannotate use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
pmccontrol Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pmcstat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pmcstudy Fix yet another coverty warning (missing io is NULL check) and in examining that 2015-01-27 18:56:22 +00:00
pnpinfo
portsnap Add a manual page for phttpget(8). 2015-01-02 21:02:41 +00:00
powerd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ppp Fix multiple instances of the following clang 3.6.0 warning in ppp: 2015-01-28 21:33:49 +00:00
pppctl Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
praliases Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
praudit Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
procctl
pstat Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
pw Revert r277652 2015-01-26 16:50:42 +00:00
pwd_mkdb Add -p to the example (why isn't this the default?) 2014-02-06 09:57:27 +00:00
quot
quotaon Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rarpd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
repquota Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rip6query
rmt
route6d Recover sin6_scope_id of gateway addresses in riprecv() by using the if_index 2014-08-20 17:27:15 +00:00
rpc.lockd When mountd is creating sockets, it iterates over all addresses specified 2015-01-19 00:33:32 +00:00
rpc.statd When mountd is creating sockets, it iterates over all addresses specified 2015-01-19 00:33:32 +00:00
rpc.umntall mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
rpc.yppasswdd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rpc.ypupdated Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rpc.ypxfrd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rpcbind Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rrenumd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rtadvctl mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
rtadvd mdoc: sort SEE ALSO. 2014-12-26 21:56:23 +00:00
rtprio use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
rtsold Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
rwhod Don't accidently skip every second line when calculating the 2014-06-28 15:53:28 +00:00
sa Fix the following -Wcast-qual warnings in usr.sbin/sa/db.c: 2015-01-28 22:22:49 +00:00
sendmail Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
service Revert previous revision (r268461) for reasons documented in PR. 2014-07-16 19:02:30 +00:00
services_mkdb Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
setfib Tweak wording. 2013-09-07 20:25:22 +00:00
setfmac
setpmac
sicontrol use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
smbmsg Fix typo (by -> be). 2014-09-01 16:12:29 +00:00
snapinfo Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
spkrtest
spray Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
syslogd Increase the buffer size to keep the list of programm names when 2014-12-12 11:29:54 +00:00
sysrc Add EXAMPLES-section entry for new key+=append syntax of sysrc(8). 2014-11-05 01:24:44 +00:00
tcpdchk Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
tcpdmatch Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
tcpdrop use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
tcpdump MFV r276761: tcpdump 4.6.2. 2015-01-07 19:55:18 +00:00
tests Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout. 2014-03-16 04:09:22 +00:00
timed Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
traceroute Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
traceroute6 Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
trpt Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
tzsetup Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
uathload
ugidfw Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
uhsoctl Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
unbound Enable remote control using a local socket in the default configuration. 2015-01-05 15:09:00 +00:00
usbconfig Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
usbdump use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
utx use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
vidcontrol vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin font 2014-10-23 12:38:05 +00:00
vigr Add a vigr(8) utility which does for /etc/group what vipw(8) does for 2014-12-14 16:40:46 +00:00
vipw Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
wake use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
watch Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
watchdogd Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
wlandebug Fix a typo to catch correct condition. 2014-08-25 05:52:05 +00:00
wlconfig
wpa Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
yp_mkdb use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ypbind use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
yppoll
yppush use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
ypserv Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
ypset Use INADDR_NONE instead of -1 to check inet_addr() result. 2013-10-15 07:37:30 +00:00
zic
zzz Use Mt macro to properly format mailto links 2014-06-19 13:18:23 +00:00
Makefile Add MK_AUTOFS knob for building and installing autofs(4), et al 2015-01-26 07:15:49 +00:00
Makefile.amd64 Add MK_BHYVE knob for building and installing bhyve(4), et al 2015-01-26 06:44:48 +00:00
Makefile.arm
Makefile.i386 Disable hyperv on pc98. 2014-10-18 08:07:17 +00:00
Makefile.inc
Makefile.mips
Makefile.powerpc - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.sparc64 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00