「Cygwin-1.7はレジストリを使いません」
http://cygwin.com/ml/cygwin/2009-07/msg00924.html
HKLM/Software/Cywin/setup/rootdir
that rootdir is only used by setup.exe, not by Cygwin.
なん……だと……? じゃあどーやって / を検出してるんだ?
http://cygwin.com/ml/cygwin/2009-07/msg00928.html
- Check for Cygwin DLL path, for instance C:/cygwin/bin/cygwin1.dll. - Strip DLL name and parent dir --> C:/cygwin - Create default mount points from here: C:/cygwin / whatever binary,auto 0 0 C:/cygwin/bin /usr/bin whatever binary,auto 0 0 C:/cygwin/lib /usr/lib whatever binary,auto 0 0