BSD Ports

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

SystemPortVersion
FreeBSDsysutils/sg3_utils1.49
MidnightBSDsysutils/sg3_utils1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.491.491.471.48_21.49
FreeBSD:14:quarterly1.491.49n/a1.48_11.49
FreeBSD:15:latest1.491.49n/a1.48_21.48_2
FreeBSD:15:quarterly1.491.49n/an/an/a
FreeBSD:16:latest1.491.49n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

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
FileSizeSHA256
sg3_utils-1.49.tar.xz9914444215e7876e786dcdbf5ae14a7c0b9549b7817cdf6f5ce0debe1d1674e0d1c900
958434a1d2b5b2f4f465c9196c3c4ecf362eeb22.patch19058e76e62fb7678c944e01a6974b34d215b032f76a0f959b14c30e134b9eadb37f
c32e19f52e7b5c75bd2a9b222c072eef16a4e583.patch1154d01df1983fff6bd8f41a9d12c176c6dda87da944b7b9e92772e43ff9615b9c38
c60834d53313f3796f43fdf874db98a9e8b03b6e.patch13617519227ce02758bff519e8c207057fee28fdf3b42d8741b3876ef6e720d2d412
840637b1c402a02ea56a5447fb616200f5314a51.patch14275c74346ed490f7b75c441d9284b2969de865f804885ee02b3c4f9fcba7e9587f
Master sites 1
  • https://sg.danny.cz/sg/p/

Commit history 1

DateCommitCreditsLog message
efb2ff2684 Alan Somers sysutils/sg3_utils: 1.49
This is the first new release in three years. Among other changes, it updates sg_opcodes with features needed by CTL's ATF tests. Also, switch the build to cmake and take maintainership. Much thanks to diizzy for help with the patch. https://github.com/doug-gilbert/sg3_utils/blob/main/ChangeLog PR: 296938 Sponsored by: ConnectWise Approved by: diizzy (ports)