# in order to make cygwin properly (so that the cygwin root is the same is the C:\) # I did these mounts (below) # note 1: do this from dos command line, not from cygwin # and the example assumes cygwin is in C:\Apps\cygwin # note 2: cygwin doesn't advice doing this, the reason being that some other applications # may try to add their crud into cygwin directories, causing problems # note 3: if the first umount doesn't work, you have to umount the rootdrive by hand # umount -s / # then do the rest as shown below Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\>cd apps C:\Apps>cd cygwin C:\Apps\cygwin>cd bin C:\Apps\cygwin\bin>umount -s --remove-all-mounts C:\Apps\cygwin\bin>mount -s -b -f c:\apps\cygwin\bin /bin C:\Apps\cygwin\bin>mount -s -b -f c:\apps\cygwin\etc /etc C:\Apps\cygwin\bin>mount -s -b -f c:\apps\cygwin\lib /lib C:\Apps\cygwin\bin>mount -s -b -f c:\apps\cygwin\usr /usr C:\Apps\cygwin\bin>mount -s -b -f c:\apps\cygwin\var /var C:\Apps\cygwin\bin>mount -s -b -f c:\ / C:\Apps\cygwin\bin>mount -s -b -f c:\apps\cygwin\bin /usr/bin C:\Apps\cygwin\bin>mount -s -b -f c:\apps\cygwin\lib /usr/lib C:\Apps\cygwin\bin>mount -c -s /cygdrive C:\Apps\cygwin\bin>mount -c -u /cygdrive C:\Apps\cygwin\bin>cd \ C:\>mkdir tmp C:\> # you can also run all from a bat file, or copy-paste from here # if you installed it to C:\apps\cygwin umount -s --remove-all-mounts mount -s -b -f c:\apps\cygwin\bin /bin mount -s -b -f c:\apps\cygwin\etc /etc mount -s -b -f c:\apps\cygwin\lib /lib mount -s -b -f c:\apps\cygwin\usr /usr mount -s -b -f c:\apps\cygwin\var /var mount -s -b -f c:\ / mount -s -b -f c:\apps\cygwin\bin /usr/bin mount -s -b -f c:\apps\cygwin\lib /usr/lib mount -c -s /cygdrive mount -c -u /cygdrive # if you installed it to C:\cygwin umount -s --remove-all-mounts mount -s -b -f c:\cygwin\bin /bin mount -s -b -f c:\cygwin\etc /etc mount -s -b -f c:\cygwin\lib /lib mount -s -b -f c:\cygwin\usr /usr mount -s -b -f c:\cygwin\var /var mount -s -b -f c:\ / mount -s -b -f c:\cygwin\bin /usr/bin mount -s -b -f c:\cygwin\lib /usr/lib mount -c -s /cygdrive mount -c -u /cygdrive