sdparm utility, version 0.97 beta
Douglas Gilbert
dougg at torque.net
Tue Dec 27 01:35:26 PST 2005
sdparm is a command line utility for getting and setting
SCSI parameters. These parameters are mainly held in SCSI
mode pages. Read only information is maintained in device
Vital Product Data (VPD) pages and these can also be accessed
with sdparm. There are also some simple commands supported.
sdparm is described here:
http://www.torque.net/sg/sdparm.html
and the sdparm-0.97.tgz beta can be fetched from the
Downloads section.
This utility was originally released in April 2005 for the
linux operating system. Inspired by the SCSI pass through
mechanism of smartmontools which has been ported to 7
OSes, sdparm has been reworked to push the linux
specific SCSI pass through code into one file: sg_pt_linux.c
There is a corresponding file for FreeBSD: sg_pt_freebsd.c
Feedback welcome, especially in the area of packaging for
multiple OSes and CAM. This beta has only been tested on
FreeBSD version 5.3 with a SCSI disk, a tape drive and
an ATAPI CD drive (with atapicam configured in the kernel).
I'm am also working on porting (the non linux specific)
utilities in the sg3_utils package to FreeBSD.
Doug Gilbert
More information about the freebsd-scsi
mailing list