This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin 1.5.18 and //./PhysicalDrive??


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]