On Tue, Jul 11, 2006 at 06:44:11PM +0100, Dave Korn wrote: >On 11 July 2006 17:58, Christopher Faylor wrote: > >> On Tue, Jul 11, 2006 at 09:07:31AM -0700, truelies wrote: >>> I am new to cygwin. I want to install it in windows xp sp1, but I can find >>> the home dictionary, use pwd, it's \cygdrive\r, any way to change it to >>> C:\Cygwin\Home\username? Thank you! >> >> Sorry. Cygwin emulates Linux. Linux doesn't use path names like >> "c:\cygwin\home\username". >> >> If you don't want to use the type of posix path names that Linux employs >> then maybe you shouldn't be using Cygwin. > > Well, according to > >http://cygwin.com/faq/faq.setup.html#faq.setup.home > >the OP could set HOME to that in the windows environment vars and it'll be >automatically translated to /home/username in cygwin.
The backslash typo notwithstanding the path is being translated from a windows directory. There is no way to make pwd produce a windows path. But, setting HOME to something or filling out the correct field in /etc/passwd will result in something other then \cygdrive\r (sic). The something will still be a POSIX path, however. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/