This is the mail archive of the cygwin-talk 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]

Not directly Cygwin: Windows special filenames


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





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