sysutils/sg3_utils 1.49 FreeBSD
Set of utilities that send SCSI commands to devices
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
efb2ff2684- License
- BSD2CLAUSE, GPLv2+
- Categories
- sysutils
- Package size
- 867.7 KiB, 2398.2 KiB installed
Description
The sg3_utils package contains utilities that send SCSI commands to devices. As well as devices on transports traditionally associated with SCSI (e.g. Fibre Channel (FCP), Serial Attached SCSI (SAS) and the SCSI Parallel Interface(SPI)) many other devices use SCSI command sets. Its functions are similar to camcontrol(8), but more powerful. For example, it can use SCSI Environmental Services not using FreeBSD ses(4), read SCSI device logs, and much more.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | sysutils/sg3_utils | 1.49 |
| MidnightBSD | sysutils/sg3_utils | 1.48_1 |
Install
Binary package:
pkg install sg3_utils
From the ports tree:
cd /usr/ports/sysutils/sg3_utils/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= sg3_utils>0:sysutils/sg3_utils
LIB_DEPENDS= libsgutils2.so:sysutils/sg3_utils
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.49 | 1.49 | 1.47 | 1.48_2 | 1.49 |
| FreeBSD:14:quarterly | 1.49 | 1.49 | n/a | 1.48_1 | 1.49 |
| FreeBSD:15:latest | 1.49 | 1.49 | n/a | 1.48_2 | 1.48_2 |
| FreeBSD:15:quarterly | 1.49 | 1.49 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.49 | 1.49 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Required by 4
Configuration
No options to configure.
- USES
- cmake shebangfix tar:xz
- Service scripts
- none
Files
Manual pages 70
- scsi_mandat(8)
- scsi_readcap(8)
- scsi_ready(8)
- scsi_satl(8)
- scsi_start(8)
- scsi_stop(8)
- scsi_temperature(8)
- sg3_utils(8)
- sg3_utils_json(8)
- sg_bg_ctl(8)
- sg_compare_and_write(8)
- sg_decode_sense(8)
- sg_format(8)
- sg_get_config(8)
- sg_get_elem_status(8)
- sg_get_lba_status(8)
- sg_ident(8)
- sg_inq(8)
- sg_logs(8)
- sg_luns(8)
- sg_modes(8)
- sg_opcodes(8)
- sg_persist(8)
- sg_prevent(8)
- sg_raw(8)
- sg_rdac(8)
- sg_read_attr(8)
- sg_read_block_limits(8)
- sg_read_buffer(8)
- sg_read_long(8)
- sg_readcap(8)
- sg_reassign(8)
- sg_referrals(8)
- sg_rem_rest_elem(8)
- sg_rep_density(8)
- sg_rep_pip(8)
- sg_rep_zones(8)
- sg_requests(8)
- sg_reset_wp(8)
- sg_rmsn(8)
- sg_rtpg(8)
- sg_safte(8)
- sg_sanitize(8)
- sg_sat_datetime(8)
- sg_sat_identify(8)
- sg_sat_phy_event(8)
- sg_sat_read_gplog(8)
- sg_sat_set_features(8)
- sg_seek(8)
- sg_senddiag(8)
- sg_ses(8)
- sg_ses_microcode(8)
- sg_start(8)
- sg_stpg(8)
- sg_stream_ctl(8)
- sg_sync(8)
- sg_timestamp(8)
- sg_turs(8)
- sg_unmap(8)
- sg_verify(8)
- sg_vpd(8)
- sg_wr_mode(8)
- sg_write_attr(8)
- sg_write_buffer(8)
- sg_write_long(8)
- sg_write_same(8)
- sg_write_verify(8)
- sg_write_x(8)
- sg_z_act_query(8)
- sg_zone(8)
pkg-plist 155
- bin/scsi_mandat
- bin/scsi_readcap
- bin/scsi_ready
- bin/scsi_satl
- bin/scsi_start
- bin/scsi_stop
- bin/scsi_temperature
- bin/sg_bg_ctl
- bin/sg_compare_and_write
- bin/sg_decode_sense
- bin/sg_format
- bin/sg_get_config
- bin/sg_get_elem_status
- bin/sg_get_lba_status
- bin/sg_ident
- bin/sg_inq
- bin/sg_logs
- bin/sg_luns
- bin/sg_modes
- bin/sg_opcodes
- bin/sg_persist
- bin/sg_prevent
- bin/sg_raw
- bin/sg_rdac
- bin/sg_read_attr
- bin/sg_read_block_limits
- bin/sg_read_buffer
- bin/sg_read_long
- bin/sg_readcap
- bin/sg_reassign
- bin/sg_referrals
- bin/sg_rem_rest_elem
- bin/sg_rep_density
- bin/sg_rep_pip
- bin/sg_rep_zones
- bin/sg_requests
- bin/sg_reset_wp
- bin/sg_rmsn
- bin/sg_rtpg
- bin/sg_safte
- bin/sg_sanitize
- bin/sg_sat_datetime
- bin/sg_sat_identify
- bin/sg_sat_phy_event
- bin/sg_sat_read_gplog
- bin/sg_sat_set_features
- bin/sg_seek
- bin/sg_senddiag
- bin/sg_ses
- bin/sg_ses_microcode
- bin/sg_start
- bin/sg_stpg
- bin/sg_stream_ctl
- bin/sg_sync
- bin/sg_timestamp
- bin/sg_turs
- bin/sg_unmap
- bin/sg_verify
- bin/sg_vpd
- bin/sg_wr_mode
- bin/sg_write_attr
- bin/sg_write_buffer
- bin/sg_write_long
- bin/sg_write_same
- bin/sg_write_verify
- bin/sg_write_x
- bin/sg_z_act_query
- bin/sg_zone
- include/scsi/sg_cmds.h
- include/scsi/sg_cmds_basic.h
- include/scsi/sg_cmds_extra.h
- include/scsi/sg_cmds_mmc.h
- include/scsi/sg_json.h
- include/scsi/sg_json_sg_lib.h
- include/scsi/sg_lib.h
- include/scsi/sg_lib_data.h
- include/scsi/sg_lib_names.h
- include/scsi/sg_nvme.h
- include/scsi/sg_pr2serr.h
- include/scsi/sg_pt.h
- include/scsi/sg_snt.h
- include/scsi/sg_unaligned.h
- lib/libsgutils2-.so.2
- lib/libsgutils2-.so.2.0.0
- lib/libsgutils2.so
- share/man/man8/scsi_mandat.8.gz
- share/man/man8/scsi_readcap.8.gz
- share/man/man8/scsi_ready.8.gz
- share/man/man8/scsi_satl.8.gz
- share/man/man8/scsi_start.8.gz
- share/man/man8/scsi_stop.8.gz
- share/man/man8/scsi_temperature.8.gz
- share/man/man8/sg3_utils.8.gz
- share/man/man8/sg3_utils_json.8.gz
- share/man/man8/sg_bg_ctl.8.gz
- share/man/man8/sg_compare_and_write.8.gz
- share/man/man8/sg_decode_sense.8.gz
- share/man/man8/sg_format.8.gz
- share/man/man8/sg_get_config.8.gz
- share/man/man8/sg_get_elem_status.8.gz
The first 100 are listed.
distinfo 5
| File | Size | SHA256 |
|---|---|---|
| sg3_utils-1.49.tar.xz | 991444 | 4215e7876e786dcdbf5ae14a7c0b9549b7817cdf6f5ce0debe1d1674e0d1c900 |
| 958434a1d2b5b2f4f465c9196c3c4ecf362eeb22.patch | 1905 | 8e76e62fb7678c944e01a6974b34d215b032f76a0f959b14c30e134b9eadb37f |
| c32e19f52e7b5c75bd2a9b222c072eef16a4e583.patch | 1154 | d01df1983fff6bd8f41a9d12c176c6dda87da944b7b9e92772e43ff9615b9c38 |
| c60834d53313f3796f43fdf874db98a9e8b03b6e.patch | 1361 | 7519227ce02758bff519e8c207057fee28fdf3b42d8741b3876ef6e720d2d412 |
| 840637b1c402a02ea56a5447fb616200f5314a51.patch | 1427 | 5c74346ed490f7b75c441d9284b2969de865f804885ee02b3c4f9fcba7e9587f |
Master sites 1
- https://sg.danny.cz/sg/p/