freebsd-dev/sbin/camcontrol
Alexander Motin 0912877616 Make camcontrol modepage support block descriptors.
It allows to read and write block descriptors alike to mode page parameters.
It allows to change block size or short-stroke HDDs or overprovision SSDs.
Depenting on -P parameter the change can be either persistent or till reset.
In case of block size change device may need reformat after the setting.
In case of SSD overprovisioning format or sanitize may be needed to really
free the flash.

During implementation appeared that csio_encode_visit() can not handle
integers of more then 4 bytes, that makes 8-byte LBA handling awkward.
I had to split it into two 4-byte halves now.

MFC after:	1 week
Relnotes:	yes
Sponsored by:	iXsystems, Inc.
2019-08-07 14:45:10 +00:00
..
attrib.c Add task attribute support to camcontrol(8). 2017-02-17 20:04:22 +00:00
camcontrol.8 Make camcontrol modepage support block descriptors. 2019-08-07 14:45:10 +00:00
camcontrol.c Make camcontrol modepage support block descriptors. 2019-08-07 14:45:10 +00:00
camcontrol.h Make camcontrol modepage support block descriptors. 2019-08-07 14:45:10 +00:00
epc.c Use the more proper term of SATL instead of ATA_BEHIND_SCSI. 2019-07-15 20:25:41 +00:00
fwdownload.c Use the more proper term of SATL instead of ATA_BEHIND_SCSI. 2019-07-15 20:25:41 +00:00
Makefile Retire support for -DMINIMALISTIC 2019-07-12 05:35:45 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
modeedit.c Make camcontrol modepage support block descriptors. 2019-08-07 14:45:10 +00:00
persist.c Add task attribute support to camcontrol(8). 2017-02-17 20:04:22 +00:00
progress.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
progress.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
timestamp.c Use present now scsi_mode_sense_subpage(). 2019-07-29 20:41:11 +00:00
util.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
zone.c Use the more proper term of SATL instead of ATA_BEHIND_SCSI. 2019-07-15 20:25:41 +00:00