delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/26/15:04:35

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=LQH2vJueIgby12M7fMlEWgAOlBx3qWKih0zjTYqtfcJxXaCq3ybU4
GaWdv1Ny11zqGO5WYj/uBz5+j6FReoTwLUQJKZMeS9q3QM40hdYm0cbn/0PGZtAz
BnB9sNPbJKGpYobEZFK+LwNgx66s++YrfA3c8QK8lqFE/aGPJmSQAk=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=qVOyWjzbtt1kTUcmdPgmSuxPcEY=; b=v/3FEMAyXosj7WIK3yUo4GlBuIZ4
pzcLiFQEemosccde8ET1FCAqAefc3jHjaNEY2bT5/idsGDkhvOahw7lwz1jndnKc
v/cocCuwS6x/u7V+0WyF3nv1nrSQ8e7isHiztKgvTXHE4+9QYeJcLc2WA9YPjsWG
I3qjzmDMddd2co8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX19a9kDgLeqEhl9E07QqIgXr
Date: Wed, 26 Jun 2013 15:04:13 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Is there SCSI ioctl() support in cygwin? Where is sg.h?
Message-ID: <20130626190413.GC3127@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <51CADF24 DOT 4090200 AT bracketfire DOT com> <20130626153051 DOT GE6966 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20130626153051.GE6966@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)

On Wed, Jun 26, 2013 at 05:30:51PM +0200, Corinna Vinschen wrote:
>On Jun 26 08:31, Peter Allen wrote:
>> I've searched the archives and the net and haven't found any
>> information about using ioctl() to send commands to a SCSI disk.
>> 
>> I'm porting an application that needs structures defined in sg.h,
>> (sg_io_hdr_t) but can't find that header in any cygwin package.
>> 
>> Is there support for this in cygwin?
>
>No, sorry, there isn't.  While Windows offers SCSI passthrough
>capability using some DeviceIoControl control code, we don't support the
>/dev/sg* devices and the translation from sg to underlying Windows
>device.
>
>I played with the SCSI passthrough stuff a couple years ago.  I'd say,
>the real problem is not to support passthrough, but the device
>translation.  There's pretty certainly a way to offer that, but off the
>top of my head I don't know how to.
>
>Adding a Cygwin fhandler for sg devices and SCSI passthrough would
>probably be a nice side project for somebody who's interested in this
>stuff.  It wouldn't really collide with anything which is already
>implemented.

So when, exactly, do you expect to have this implemented then?  Next
Thursday?

cgf

(I'm here all week folks.  Tip your busboys)

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019