delorie.com/archives/browse.cgi | search |
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=aklzTTJqbJa9J0aTzIT6Ek3RXWuhzzPihw/k9kAzRtWdE7daeZt9G | |
JcIVbCeA9hHva7slDH2A7YBeL7KNIU+axrsmxAe0v0puA1LWVGLwDaaVb4dBhXVr | |
bGJ4r0a3x84KcSJaBBRoBgquwYqts+Y9TZPSjddYDxolcNEdikPU18= | |
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=esTb1y2WA1xA6vmZ/IbVRG760nw=; b=LbwkaitMg04ckV6xvZfNt0iqpqEz | |
digxyV66kgVr0vhWTjHgT25Rjv2u6X5I0+F3rdD5yt1F6cwmYPpvX5Q2AMQKPqgZ | |
a8ZXPwwTO5HjPR9ps/kquUJlLo4y1ShKpq7AH5a5WVKXAxD8lsHvV3zqmwEUClkQ | |
sPgg4PogTI1RXfA= | |
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: | Wed, 26 Jun 2013 17:30:51 +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: | <20130626153051.GE6966@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> |
MIME-Version: | 1.0 |
In-Reply-To: | <51CADF24.4090200@bracketfire.com> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
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. 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |