Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3A95695F.A9C3BC45@virtutech.se> Date: Thu, 22 Feb 2001 20:32:47 +0100 From: Jesper Eskilson X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Accessing disk-devices Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! Is there any way of accessing disk-devices under Cygwin (something like using the "\\.\:" syntax accepted by the Win32 APIs? Another way around would be to use CreateFile() to open the device and then convert the HANDLE to a Cygwin file-descriptor. The function cygwin_attach_handle_to_fd() looks ok, but I would like it to work in the other direction. /Jesper -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple