Symbolic Links for Lunks.

karron at MCIRPS2.MED.NYU.EDU karron at MCIRPS2.MED.NYU.EDU
Fri Aug 10 04:54:17 AEST 1990


The problem seems to be more than I first thought. If you want to make a
link, It seems that you have to use a fully qualified file path or the
symbolic link can get lost...

Try to cd to some directory, and then link a file there back to another file
link in a non local directory (some other directory other than the one you
are using as your cwd). I have to fix the script (again) to fully expand
a file name prior to making the links.

I did not know that the ln -is option worked. I just tried it, and it
gave me a cryptic warning "files identical". My problem is getting
the order correct, so that I don't overwrite my file with a symlink pointing
to itself. Anyway, sgi (youse guys) should fix it better. Perhaps if the
code it not a trade secret, post it so we can make our own versions. Or
just use a shell script front end, or just be more careful.

The reason I am using links more and more is to save disk space, and not keep
copies of hugh image files local, but on remote file systems with long path
names. Keeping a local symlink is really neat !

dan(who should read the man page prior to solving the problem)
+-----------------------------------------------------------------------------+
| karron at nyu.edu                          Dan Karron                          |
| . . . . . . . . . . . . . .             New York University Medical Center  |
| 560 First Avenue           \ \    Pager <1> (212) 397 9330                  |
| New York, New York 10016    \**\        <2> 10896   <3> <your-number-here>  |
| (212) 340 5210               \**\__________________________________________ |
+-----------------------------------------------------------------------------+



More information about the Comp.sys.sgi mailing list