delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/27/12:03:39

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=bi/r0QTbf0bu+qSjLqHiIdZ/tWt9FAdm60lN+V2OvV9APD25C/bkT
VMn2E9RtNWbWFpK3ZIWTeeAFacjFWZcGMoC1BqSMG7+H9mY8WF/hZ6T1jLXiJ/aV
IG+kBQHXtP7x8Eoob6sZW0wqqX2CuBXiB1WfOmX276b0Yxw9802EsI=
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=M1deD+WOZcAr3FfXLTc3H9POCMM=; b=jqYedvOm5FxaqXaOw0kOeowLsaTA
TV115lq7YigfzTVVJHPfNBLAzavL39uA2weZQ4bTLMZL3kSxnmvpL91OH1FVxuzW
vQTBZ+veLI5xCu4lWAWeLQyDHdPxmL37Vx/iiipeWNp3GvonCLqVH42/cyBOotrq
gM8swqAvVLBHLrQ=
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 18:03:19 +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: <20130627160319.GG2378@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> <20130627083321 DOT GJ6966 AT calimero DOT vinschen DOT de> <51CC606E DOT 8060703 AT cygwin DOT com>
MIME-Version: 1.0
In-Reply-To: <51CC606E.8060703@cygwin.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Jun 27 11:55, Larry Hall (Cygwin) wrote:
> On 6/27/2013 4:33 AM, Corinna Vinschen wrote:
> >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...
> 
> This isn't another issue involving kittens, is it?

You know how kittens have no sense of time.

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