From owner-freebsd-scsi@FreeBSD.ORG Sat Dec 31 01:50:11 2005 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F35216A41F for ; Sat, 31 Dec 2005 01:50:11 +0000 (GMT) (envelope-from dougg@torque.net) Received: from borg.st.net.au (zorg.st.net.au [203.16.233.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 053C843D5C for ; Sat, 31 Dec 2005 01:50:10 +0000 (GMT) (envelope-from dougg@torque.net) Received: from localhost (localhost [127.0.0.1]) by borg.st.net.au (Postfix) with ESMTP id 096BE39542C; Sat, 31 Dec 2005 11:50:10 +1000 (EST) Received: from borg.st.net.au ([203.16.233.9]) by localhost (borg.st.net.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11997-07; Sat, 31 Dec 2005 11:50:09 +1000 (EST) Received: from [192.168.48.80] (dsl-162.128.240.220.lns02-wick-bne.dsl.comindico.com.au [220.240.128.162]) by borg.st.net.au (Postfix) with ESMTP id 4FA57395402; Sat, 31 Dec 2005 11:50:07 +1000 (EST) Message-ID: <43B5E434.7010102@torque.net> Date: Sat, 31 Dec 2005 11:51:48 +1000 From: Douglas Gilbert User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at st.net.au Cc: Subject: sg3_utils port, version 1.19 beta X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dougg@torque.net List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2005 01:50:11 -0000 sg3_utils is a package of command line utilities, most of which are closely associated with a SCSI command. For example, sg_persist issues PERSISTENT RESERVE IN and OUT SCSI commands. Some utilities are just slightly higher level: sg_ses fetches status pages and can send control pages to a SES device. camcontrol can issue SCSI commands in FreeBSD, but that can become a chore when there is a lot of data to set up or decode. Some sg3_utils utilities do a lot of work decoding the response to SCSI commands (e.g. "sg_get_config /dev/cd0" will decode MMC features and profiles of the drive and media). The sg3_utils port to FreeBSD contains 20 utilities, each with a man page. Linux specific and some other utilities that require more work have been dropped from this initial FreeBSD port. A tarball of sg3_utils 1.19 beta can be found at: http://www.torque.net/sg [in the news section] Here is a web page with an overview of sg3_utils: http://www.torque.net/sg/u_index.html See the README.freebsd and INSTALL files in the tarball for more information. The sg3_utils FreeBSD port uses the same pass through mechanism as sdparm which I released earlier this week to this list. The only response to date has been the automatically generated "out of office" variety :-) Doug Gilbert