delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/27/04:33:38

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=N5ua98JKktlS9Qo9fA4Km6GY26N9P70lR9Tj9XUV64j9HsCRsNRzM
hNlUdDTNMbIdyoin8KpCKTDwuH+5TZ8mS1RGvGJ3lcZvLy6BGjAzj9jpfY68b2OU
plNF2Qb9qWC+BWHCDUyvil1d/bAsgxEVPEJSsGVPEf7+zC8O6a1Jyg=
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=X+9G7wmHygULk47HGxmeCSmEZYw=; b=DXecKNBkKIRqM/sk2Owq7TWID1VP
baxpAEVGNPADTcTvKxsCgQCdgIX3a/G0zBaqR1D8vQtv2K16VCJQYjVJMSx85NPQ
Hs+5+u75cvSCy4TmgCWS1bpEv3yO296PODj6/XD0OaKmLwUKjzXfwAxtBZNfKfCB
3OQk3xpAByaZEOU=
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.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1
Date: Thu, 27 Jun 2013 10:33:21 +0200
From: Corinna Vinschen <corinna-cygwin 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: <20130627083321.GJ6966@calimero.vinschen.de>
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> <20130626190413 DOT GC3127 AT ednor DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
In-Reply-To: <20130626190413.GC3127@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Jun 26 15:04, Christopher Faylor wrote:
> 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?

Let's say, it will be *a* Thursday, just don't expect me to say the
exact year...


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
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