BSD Ports

sysutils/sg3_utils 1.48_1 MidnightBSD

Set of utilities that send SCSI commands to devices

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd2, gpl2+
Categories
sysutils

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

Install

Binary package:

mport install sg3_utils

From mports:

cd /usr/mports/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

Dependencies

Required by 1

Configuration

No options to configure.

USES
gmake libtool shebangfix tar:tgz
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 157
  • bin/rescan-scsi-bus.sh
  • bin/scsi_logging_level
  • 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_pr2serr.h
  • include/scsi/sg_pt.h
  • include/scsi/sg_pt_nvme.h
  • include/scsi/sg_unaligned.h
  • lib/libsgutils2-.so.2
  • lib/libsgutils2-.so.2.0.0
  • lib/libsgutils2.a
  • 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

The first 100 are listed.

distinfo 1
FileSizeSHA256
sg3_utils-1.48.tgz2.302254e+06d62b6c3cf20390fa7357044390084166d25f1d932a1135c450b69fe5c283d773
Master sites 1
  • http://sg.danny.cz/sg/p/