strange symlink behaviour if / terminated

2000-06-26 Thread Cyrille Lefevre
preliminaries : # mkdir -p /path/name /path/to # touch /path/name/file # ln -s /path/name /path/to/symlink # mv /path/to/symlink/ /other/location ^ note the terminating slash. move the target of the symlink instead of the symlink itself. same results w/ rm -r and cp -r.

Re: strange symlink behaviour if / terminated

2000-06-26 Thread Warner Losh
In message [EMAIL PROTECTED] Cyrille Lefevre writes: : # mv /path/to/symlink/ /other/location : ^ note the terminating slash. Read the terminating slash as "/." and it all should make sense. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe