How do I change where a symlink (softlink) points?
--
Dwayne
***fake email
***remove nospam to reply by email
Bruce
/--------------------------------------------------------------------\
| Bruce Merry (Entropy) | bmerry at iafrica dot com |
| Proud user of Linux! | http://www.cs.uct.ac.za/~bmerry |
| If you actually look like your passport photo, |
| then you aren't well enough to travel. |
\--------------------------------------------------------------------/
You can specify either a directory or a name as the last argument toQuote:>You use the program "ln" with the option "-s" to create a symlink. To
>change a symlink, either delete it and recreate it, or give the -f
>option to ln (which makes it delete the old link first). I've had
>trouble with the -f option if the link pointed to a directory for some
>reason.
Now, if the last argument is a symbolic link pointint to a directory.
ln will use the directory case and create the link in the directory
pointed to by the symbolic link. Use -n to prevent this.
-n, --no-dereference treat destination that is a symlink to a
directory as if it were a normal file
--
Villy
1. "Symlink component flag not implemented": problem with long symlinks?
Hi,
ther other day I got the following kernel error messages, a couplt of times:
"Symlink component flag not implemented"
Something followed by a number. Looking through the kernel souce code I found
that this message is generated by the rockridge part of the iso9660. Which
makes sense because I was reading a CD-ROM. I suspect the error is cause by
a buffer overflow of some kind because when I tried to reproduce the error
it displayed less errors than before! Eventually the number of errors was
reduced to 1.
I got this error with: kernel 2.2.8 using while reading the Solaris 2.5.1
installation CD-ROM (Sparc version). For instance try to do an ls on:
/cdrom/MU/Solaris_2.5.1MU5/sparc/Patches/patch/SUNWpatch.sun4u1/reloc/opt/S And see what happens. In my case the first symlink should probably end in Is this a know problem? (couldn't find anything on dejanews though). Cheers, -- Peter Bouthoorn | "We will encourage you to develop the three 2. Problem with network install SS4 3. Unix question: Elegant way to "dereference" symlink? 5. ERROR 17: SYMLINK ERROR AT INSTALL 7. symlink to a dir: sh and ksh difference 8. ANNOUNCE: Updated UPS debugger for Sun, Linux ELF available 9. Can't Change the desktop symlinks icons. 10. Multiple System.map symlinks/files ??? 12. "bootptab" is only a symlink 13. 403 forbidden error with apache when symlinking to different partition
s/Graphics-sw/xil/lib/pipelines
"pipelines/", but it was displayed as "pipelinki". So it seems there's some
kind of buffer overflow (?).
Peter
Linux addict | impatience, and hubris"
| L. Wall & R.L. Schwarz