What's wrong with symlinks?
I don't know if this is standard behavior or not, but I'm guessing it is, since it's way too obvious to have been overlooked. I have web content stored in a directory (~/public_html/images/), and I reuse this same content in several different sites served off of the same server (served from ~/html/dir1, ~/html/dir2, etc.). So, in each site, I created a symlink to the directory (~/html/dir1/images --> ~/public_html/images).
So now, I go to ~/html/dev/images/: Code:
cd ~/html/dev/images/ Code:
cd .. Code:
cp file1 .. |
cd .. && cp images/file .
... maybe ;) Seriously, I don't have the solution but I do admire your problem. I remember reading a plan9 document with title "What's wrong with symlinks" or something like that that might be of help, but unfortunately I'm unable to locate it right now :( |
Thanks for the reply. I've done some searching since the original post, and I haven't been able to find any explanation for the rationale... I'm gonna do some kernel hacking and see if I can't change this behavior.
I went ahead and changed the thread title to make it more informative. Anyone else have input? Thanks! |
All times are GMT -5. The time now is 01:14 PM. |