Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!zaphod.mps.ohio-state.edu!wuarchive!decwrl!ucbvax!MCIRPS2.MED.NYU.EDU!karron From: karron@MCIRPS2.MED.NYU.EDU Newsgroups: comp.sys.sgi Subject: Re: Symbolic Links for Lunks. Message-ID: <9008092024.AA28937@mcirps2.med.nyu.edu> Date: 9 Aug 90 18:54:17 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: karron%CMCL2.NYU.EDU@cunyvm.cuny.edu Organization: The Internet Lines: 28 X-Unparsable-Date: Thu, 9 Aug 90 13:24:33 DSD 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@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> | | (212) 340 5210 \**\__________________________________________ | +-----------------------------------------------------------------------------+