freebsd-src/sbin
Kenneth D. Merry 8fa82ed325 MFC r317774, r317776
r317774:
  Add the ability to rescan or reset devices specified by peripheral
  name and unit number in camcontrol(8).

  Previously camcontrol(8) only supported rescanning or resetting
  devices specified by bus:target:lun.  This is because for
  rescanning at least, you don't have a peripheral name and unit
  number (e.g. da4) for devices that don't exist yet.

  That is still the case after this change, but in other cases, when
  the device does exist in the CAM EDT (Existing Device Table), we
  do a careful lookup of the bus/target/lun if the user supplies a
  peripheral name and unit number to find the bus:target:lun and then
  issue the requested reset or rescan.

  The lookup is done without actually opening the device in question,
  since a rescan is often done to make a device go away after it has
  been pulled.  (This is especially true for busses/controllers, like
  parallel SCSI controllers, that don't automatically detect changes
  in topology.)  Opening a device that is no longer there to
  determine the bus/target/lun might result in error recovery actions
  when the user really just wanted to make the device go away.

  sbin/camcontrol/camcontrol.c:
  	In dorescan_or_reset(), if the use hasn't specified a
  	numeric argument, assume he has specified a device.  Lookup
  	the pass(4) instance for that device using the transport
  	layer CAMGETPASSTHRU ioctl.  If that is successful, we can
  	use the returned bus:target:lun to rescan or reset the
  	device.

  	Under the hood, resetting a device using XPT_RESET_DEV is
  	actually sent via the pass(4) device anyway.  But this
  	provides a way for the user to specify devices in a more
  	convenient way, and can work on device rescans when the
  	device is going away, assuming it still exists in the EDT.

  sbin/camcontrol/camcontrol.8:
  	Update the man page for the rescan and reset subcommands
  	to reflect that you can now use a device name and unit
  	number with them.

Sponsored by:	Spectra Logic

r317776:
  Bump the camcontrol(8) man page date.

Sponsored by:	Spectra Logic
2017-05-08 17:02:03 +00:00
..
adjkerntz MFC r267667: 2016-10-16 22:02:50 +00:00
atm MFC r306723: 2016-10-16 23:27:03 +00:00
badsect
bsdlabel MFC r306724: 2016-10-16 23:28:58 +00:00
camcontrol MFC r317774, r317776 2017-05-08 17:02:03 +00:00
ccdconfig MFC r306598 2016-10-10 16:11:51 +00:00
clri MFC r306725: 2016-10-16 23:32:35 +00:00
comcontrol
conscontrol MFC r270647: Add references to vt(4) and the configuration files in /usr/sha 2014-09-04 13:45:16 +00:00
ddb
devd MFC r311572, r311895, r311928, r311985, r312395, r312417 2017-02-28 22:18:05 +00:00
devfs MFC r314924: 2017-03-16 01:59:43 +00:00
dhclient MFC r315199,r315200,r315203: 2017-03-20 03:06:41 +00:00
dmesg MFC r306599: 2016-10-08 21:19:44 +00:00
dump MFC r306600: 2016-10-10 16:14:00 +00:00
dumpfs MFC r287429: 2016-01-11 20:11:41 +00:00
dumpon MFC r306601: 2016-10-10 16:17:14 +00:00
etherswitchcfg MFC: r261500 2014-02-11 13:33:03 +00:00
fdisk MFC r306731: 2016-10-16 23:39:15 +00:00
fdisk_pc98 MFC r306732: 2016-10-16 23:44:02 +00:00
ffsinfo MFC r267667: 2016-10-16 22:02:50 +00:00
fsck MFC r306733 2017-03-30 02:38:38 +00:00
fsck_ffs MFC r316852: 2017-04-21 10:16:34 +00:00
fsck_msdosfs MFC r306602: 2016-10-10 16:21:34 +00:00
fsdb MFC r306603: 2016-10-10 16:25:05 +00:00
fsirand MFC r267667: 2016-10-16 22:02:50 +00:00
gbde MFC r292782: Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2017-02-27 08:27:38 +00:00
geom MFH (r303289): update example section 2017-03-12 13:42:40 +00:00
ggate MFC r267667: 2016-10-16 22:02:50 +00:00
growfs MFC r289172,r290254: 2017-02-09 22:49:48 +00:00
gvinum MFC r267667: 2016-10-16 22:02:50 +00:00
hastctl MFC r267667: 2016-10-16 22:02:50 +00:00
hastd MFC r267667: 2016-10-16 22:02:50 +00:00
ifconfig MFC r299921 2016-06-07 16:53:05 +00:00
init MFC r306808: 2016-10-28 12:59:21 +00:00
ipf MFC r291329: 2015-12-04 18:50:12 +00:00
ipfw MFC r267667: 2016-10-16 22:02:50 +00:00
iscontrol MFC r300547 2016-07-06 17:45:38 +00:00
kldconfig MFC r267667: 2016-10-16 22:02:50 +00:00
kldload MFC r313273: 2017-02-12 09:27:34 +00:00
kldstat MFC r267667: 2016-10-16 22:02:50 +00:00
kldunload MFC r267667: 2016-10-16 22:02:50 +00:00
ldconfig
mca
md5 MFH (r314554): fix date in previous commit 2017-03-12 13:20:07 +00:00
mdconfig MFC r289172,r290254: 2017-02-09 22:49:48 +00:00
mdmfs MFC r296449: Update meaning of -n argument. 2016-03-28 09:18:18 +00:00
mknod MFC r306606: 2016-10-10 16:32:55 +00:00
mksnap_ffs MFC r306607: 2016-10-10 16:36:14 +00:00
mount MFC r315774: 2017-03-30 05:17:23 +00:00
mount_cd9660 MFC r267667: 2016-10-16 22:02:50 +00:00
mount_fusefs MFC r306610: 2016-10-10 16:38:07 +00:00
mount_msdosfs MFC r306276, but don't remove findwin95 2016-10-21 17:39:05 +00:00
mount_nfs MFC: r316793 2017-04-27 21:45:50 +00:00
mount_nullfs MFC r306612: 2016-10-16 22:27:16 +00:00
mount_udf MFC: r261496 2014-02-11 08:20:45 +00:00
mount_unionfs MFC r306613: 2016-10-16 22:31:51 +00:00
nandfs
natd MFC r306735: 2016-10-16 23:50:09 +00:00
newfs MFC r287396: 2016-01-11 20:10:14 +00:00
newfs_msdos MFC r267667: 2016-10-16 22:02:50 +00:00
newfs_nandfs MFC r314671 (by cem): 2017-04-13 17:11:50 +00:00
nfsiod
nos-tun MFC r306736: 2016-10-16 23:53:10 +00:00
nvmecontrol MFC r267667: 2016-10-16 22:02:50 +00:00
pfctl MFC r306614: 2016-10-16 22:33:03 +00:00
pflogd
ping
ping6 MFC r286834: 2015-08-31 18:53:41 +00:00
quotacheck
rcorder MFC r309625 2016-12-13 23:13:03 +00:00
reboot MFC r267667: 2016-10-16 22:02:50 +00:00
recoverdisk MFC r267667: 2016-10-16 22:02:50 +00:00
resolvconf MFC r304652: 2016-08-31 22:18:50 +00:00
restore MFC r298901: 2016-05-16 16:29:56 +00:00
route MFC r315690: 2017-03-27 18:24:27 +00:00
routed Fix patch(1) shell injection vulnerability via ed(1). [SA-15:18] 2015-08-05 22:05:02 +00:00
rtsol MFC r288963: 2015-10-29 16:53:34 +00:00
savecore MFC r271720: 2014-10-02 18:11:13 +00:00
sconfig MFC r306615: 2016-10-16 22:52:05 +00:00
setkey MFC r306616 2017-03-30 02:32:38 +00:00
shutdown MFC r306617 2017-03-30 02:28:49 +00:00
spppcontrol
sunlabel
swapon MFC r315242: Fix late and noauto with geli swap 2017-03-28 10:43:20 +00:00
sysctl MFC r302174 2016-07-12 22:19:25 +00:00
tests MFC r289172,r290254: 2017-02-09 22:49:48 +00:00
tunefs Constify string pointers. 2013-05-16 21:04:56 +00:00
umount MFC: r308871 2016-12-03 21:56:46 +00:00
zfsbootcfg MFC r308089: zfsbootcfg: a simple tool to set next boot (one time) 2016-11-21 10:14:36 +00:00
Makefile MFC r308089: zfsbootcfg: a simple tool to set next boot (one time) 2016-11-21 10:14:36 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.ia64
Makefile.inc
Makefile.mips
Makefile.pc98
Makefile.sparc64