delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/04/05:10:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Fri, 4 Nov 2005 11:10:17 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin 1.5.18 and //./PhysicalDrive??
Message-ID: <20051104101017.GX2988@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <E05F1FD208D5AA45B78B3983479ECF0856C060 AT saturn DOT p3corpnet DOT pivot3 DOT com> <20051104095323 DOT GU2988 AT calimero DOT vinschen DOT de> <20051104100656 DOT GV2988 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
In-Reply-To: <20051104100656.GV2988@calimero.vinschen.de>
User-Agent: Mutt/1.4.2i

On Nov  4 11:06, Corinna Vinschen wrote:
> It just occured to me that you still can use the same pathname when
> using backslashes instead of forward slashes.
> 
>   dd if=\\\\.\\physicaldrive0 count=1 | od -x
> 
> works since paths with a backslash are treated as Win32 paths and are
> not subject to the POSIX normalization and path conversion.
> 
> However, not that Win32 paths like the above are not treated as devices,
           ^^^
           note

> but as plain files.  For instance, you'll fail to use device specific
> ioctls.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

--
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