delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/17/11:00:41

X-Spam-Check-By: sourceware.org
Message-ID: <46754C80.1080803@t-online.de>
Date: Sun, 17 Jun 2007 17:00:16 +0200
From: Christian Franke <Christian DOT Franke AT t-online DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Smartmontools don't work with /dev/stX, /dev/nstX
References: <20070617115624 DOT GA31947 AT calimero DOT vinschen DOT de>
In-Reply-To: <20070617115624.GA31947@calimero.vinschen.de>
X-ID: bVmfcwZVgecfiFR3uXleASXH6tJD2X0KPhnqgWuRHbGaME3hkPsrUE
X-TOI-MSGID: e213cb92-9189-4811-800d-1041d0e85c64
X-IsSubscribed: yes
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

Corinna Vinschen wrote:
> Christian,
>
> On Cygwin the device names for tapes are /dev/stX and /dev/nstX.
> Smartmontools require to use /dev/tapeX.  Any problem to change
> that so that the /dev/stX, /dev/nstX syntax works on Cygwin as well?
>
>   

No problem, easy to fix. I will add this.

ATA/SCSI autodetection is also still missing, therefore it is required 
to use /dev/hdX for ATA, and /dev/sdX for SCSI (or ATA behind SATL) disks.
This is also not consistent with Cygwin's device names, but more 
difficult to fix.

BTW: For programs like smartmontools, hdparm or sdparm, which need 
I/O-controls unsupported by Cygwin, it would be useful to rely on 
Cygwin's open().
Is there a function to obtain the Windows HANDLE from a Cygwin fd (the 
opposite of cygwin_attach_handle_to_fd())?

Christian


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

- Raw text -


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