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:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=tRKFJJ07+uV2YTl7 Hz/ig9CBB1yc6hAui+NXjaAC3TAK1zi1ZoEhZ2BYRzod7llDFMAR4/0Kea1BnJqZ IjYdp8ZDLtzqHNnbsynxaGpoB24F87xtZ4g71JXiKs5W0Ecb+WE21lgl3rwXzo0C Dq8MOjHjO1vJXDq5DNG60mTAmS8= 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:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=NnfA2EQU1Bm+BH1GvxCK4A Jl9dw=; b=EDAq0CytTB1bPo+xtjTmrj7g/EN+1ZKj+3Di9IKM3L0EE6YCzd4fz3 xIEK0SYK7dZnMQLsIsKSlAKE9wY0SW57oXeu5SF5kF84jWsJK7s/Wkl59iVm8raP kihSy3YYmrgT4cTgvf6Dcv4L0NZMm00HiAXuDFbQeqmvJrNIzVO6k= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=0.4 required=5.0 tests=AWL,BAYES_00,BOTNET,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RCVD_IN_HOSTKARMA_YE autolearn=no version=3.3.1 Message-id: <51CC606E.8060703@cygwin.com> Date: Thu, 27 Jun 2013 11:55:26 -0400 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Is there SCSI ioctl() support in cygwin? Where is sg.h? 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> In-reply-to: <20130627083321.GJ6966@calimero.vinschen.de> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit 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? -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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