CygwinPerl Q - interact with symlinked dir?
Gerrit P. Haase
gp@familiehaase.de
Sun Jan 20 10:29:00 GMT 2002
Am 19 Jan 2002 um 23:51 hat Soren Andersen geschrieben:
>My question is: what is Perl going to do when I run an invocation of CPAN?
>Is it going to look in "~/.cpan" and if so, will it play nicely with a
>symlink and transparently find the existing dirs over on the other logical
>volume? Or will it still think that the configuration files are in
>"D:\cygwin\home\sorenboss\.cpan" (/home/sorenboss/.cpan)?
Well, what are the following commands telling you:
$ ls -a ~/
$ ls -a $HOME
$ cd && ls -a
I guess it will list .cpan too and so it will find all in the
place where it should be.
Another question:
>So I did this:
>------------------------------------------------------------
>$ ln -svdnf '/home/sorenboss/.cpan/' ~/.cpan
>create symbolic link `/cdv/e/home/sorenboss/.cpan' to
>`/home/sorenboss/.cpan/'
>------------------------------------------------------------
Why didn't you mount this way:
$ mount -s -b x:/cygwin/home/sorenboss/.cpan \
> e:/home/sorenboss/.cpan
?
I use always mount for something like this.
Gerrit
--
=^..^=
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list