sg_write_same

utilities for devices using the SCSI command set

Install

All systems
curl cmd.cat/sg_write_same.sh
Debian Debian
apt-get install sg3-utils
Ubuntu
apt-get install sg3-utils
Alpine
apk add sg3_utils
Arch Arch Linux
pacman -S sg3_utils
image/svg+xml Kali Linux
apt-get install sg3-utils
CentOS
yum install sg3_utils
Fedora
dnf install sg3_utils
Windows (WSL2)
sudo apt-get update sudo apt-get install sg3-utils
Raspbian
apt-get install sg3-utils
Docker
docker run cmd.cat/sg_write_same sg_write_same powered by Commando

sg3-utils

utilities for devices using the SCSI command set

Most OSes have SCSI pass-through interfaces that enable user space programs to send SCSI commands to a device and fetch the response. With SCSI to ATA Translation (SAT) many ATA disks now can process SCSI commands. Typically each utility in this package implements one SCSI command. See the draft standards at www.t10.org for SCSI command definitions plus SAT. ATA commands are defined in the draft standards at www.t13.org . For a mapping between supported SCSI and ATA commands and utility names in this package see the COVERAGE file.

sg3_utils

Utilities for devices that use SCSI command sets