> I can sometimes see "ln -sf file newsymlink" failing that should replace
> existing symlinks. (Though I don't have any strace available...)
> "ln -f" seems to unlink() first, so I can't see any problem with this.
>
> Do other people also see this? What is going on here?
you're trying to replace a symlink pointing to a directory, right ?
look in that directory and you'll find your newly created symlink...
try
ln -sfn file newsymlink
for GNU "ln" ...
Harald
--
All SCSI disks will from now on ___ _____
be required to send an email notice 0--,| /OOOOOOO\
24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig, \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik // / \\ \
koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^