[lkml]   [1997]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: "ln -sf" failing
    On Jul 25, Florian La Roche wrote:

    > 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...


    ln -sfn file newsymlink

    for GNU "ln" ...

    All SCSI disks will from now on ___ _____
    be required to send an email notice 0--,| /OOOOOOO\
    24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
    Harald Koenig, \/\/\/\/\/\/\/\/\/
    Inst.f.Theoret.Astrophysik // / \\ \ ^^^^^ ^^^^^

     \ /
      Last update: 2005-03-22 13:40    [W:0.021 / U:4.552 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site