Cygwin 1.5.18 and //./PhysicalDrive??

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Nov 4 10:10:00 GMT 2005


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/



More information about the Cygwin mailing list