Add sdparm, a utility that permits inquiry or set SCSI/SAS disk parameters.

This is the same program running on Linux, Solaris, and even Windows.

Sponsored by:	iXsystems, Inc
This commit is contained in:
Xin LI 2009-11-03 08:00:23 +00:00
parent 0af451f6be
commit cf9f01aab4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243693
5 changed files with 39 additions and 0 deletions

View file

@ -704,6 +704,7 @@
SUBDIR += screen
SUBDIR += screenie
SUBDIR += sdd
SUBDIR += sdparm
SUBDIR += searchmonkey
SUBDIR += seatools
SUBDIR += sec

23
sysutils/sdparm/Makefile Normal file
View file

@ -0,0 +1,23 @@
# New ports collection makefile for: sdparm
# Date created: Nov 11, 2009
# Whom: Xin LI <delphij@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= sdparm
PORTVERSION= 1.04
CATEGORIES= sysutils
MASTER_SITES= http://sg.danny.cz/sg/p/
EXTRACT_SUFX= .tgz
MAINTAINER= delphij@FreeBSD.org
COMMENT= Utilities to access SCSI device parameters
USE_GMAKE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
MAN8= sdparm.8
.include <bsd.port.mk>

3
sysutils/sdparm/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (sdparm-1.04.tgz) = b20c281bc185ea7d3c5e78a8c0be2a46
SHA256 (sdparm-1.04.tgz) = 367202e12780d42134beb2616212504dbe8ac36659c118f22d7333fda4ade993
SIZE (sdparm-1.04.tgz) = 290323

11
sysutils/sdparm/pkg-descr Normal file
View file

@ -0,0 +1,11 @@
The sdparm utility accesses SCSI device parameters. When the SCSI device
is a disk, sdparm's role is similar to its namesake: the Linux hdparm
utility which is primarily designed for ATA disks that had device names
starting with "hd". More generally sdparm can be used to access parameters
on any device that uses a SCSI command set. Apart from SCSI disks, such
devices include CD/DVD drives (irrespective of transport), SCSI and ATAPI
tape drives and SCSI enclosures. A small set of commands associated with
starting and stopping the media, loading and unloading removable media
and some other housekeeping functions can also be sent with this utility.
WWW: http://sg.danny.cz/sg/sdparm.html

View file

@ -0,0 +1 @@
bin/sdparm