Accessing Windows drive letters under cygwin

If a drive does not have an explicit mount point configured Cygwin will default to an imaginary mount point under /cygdrive. So “c:\windows\system32” becomes “/cygdrive/c/windows/system32”. (In most cases it’s best to change “\” into “/”.)

You can also create an alternate mount point and mount the drive there:

$ mkdir /c
$ mount c:/ /c

In this case “c:\windows\system32” becomes “/c/windows/system32”. Run “mount” to see the current list of mount points.


Revision #2
Created Sat, Aug 30, 2008 4:56 PM by Chan, Wing Kai
Updated Sun, Aug 31, 2008 8:06 AM by Hunt, Carl