This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
Not directly Cygwin: Windows special filenames
- From: Shaddy Baddah <Shaddy_Baddah at hotmail dot com dot INVALID>
- To: cygwin-talk at cygwin dot com
- Date: Mon, 31 Jul 2006 14:11:15 +1000
- Subject: Not directly Cygwin: Windows special filenames
- Reply-to: cygwin-talk at cygwin dot com
- Reply-to: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
Hi,
I am familiar with the DOS names like \\.\c: to get at a raw partition
from Windows command shell, that would be the equivalent of something
like /dev/sda1 in Cygwin.
Does anyone know of an equivalent for accessing the whole disk, i.e. the
equivalent of:
[snip]
/dev/sda \device\harddisk0\partition0 (whole disk)
[/snip]
from http://www.cygwin.com/cygwin-ug-net/using-specialnames.html. I
often look for clues on this page, and I get that there might be a
syntax that includes \device\harddisk0\partition0 that does the job.
Indeed cygpath -m /dev/sda or /dev/sda1 return the equivalents from this
page. Is this misleading, seeing as they are not really valid DOS names?
Thanks in advance,
Shaddy