On 6/23/2011 5:05 PM, Andrey Repin wrote:
Greetings, Marco atzeri!
Cygwin, to my best understanding, is supposed to transparently accept native
Windows paths.
No, cygwin expects to receive POSIX/Unix paths
$ cygpath -h
[cut]
-u, --unix (default) print Unix form of NAMEs
(/cygdrive/c/winnt)
so cygpath -u
expects to receive a Windows path and convert it in a unix one.
From your example:
cygpath -u \\\\DAEMON1\\anrdaemon\\.profile
/c/DAEMON1/anrdaemon/.profile
the argument is an escaped windows network path
and the outcome is the Unix equivalent
As Corinna explained:
$ echo \\\\DAEMON1\\anrdaemon\\.profile
\\DAEMON1\anrdaemon\.profile
By the way resetting "cygdrive" is not a good idea,
it is better to obtain
/cygdrive/c/DAEMON1/anrdaemon/.profile
--
WBR,
Andrey Repin (anrdae...@freemail.ru) 23.06.2011,<18:47>
Sorry for my terrible english...
Marco
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple