Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2006 13:01:36 -0800
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: rm -f doesn't delete symlink
Message-ID:  <4585B030.3090809@u.washington.edu>
In-Reply-To: <20061217203138.EFA38E0625@smtp1.galnet.dk>
References:  <20061217203138.EFA38E0625@smtp1.galnet.dk>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Jeppe Bundsgaard wrote:
>
> Hi,
> I am trying to upgrade to FreeBSD 6.1. But when I run installworld it 
> halts when trying to create a symlink: /sys. Just before the error the 
> script tries to delete the old symlink with: rm -f /sys. But this 
> doesn't delete the symlink.
> No flags are set on /sys.
> Anybody got any idea what is wrong?
> Thanks.
> Jeppe
Jeppe,
    Try without the -f and see what the error is. -f (in my book at 
least) usually evaluates to (yes, quiet) in regular files / symlinks at 
least.
-Garrett



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4585B030.3090809>