rm -f doesn't delete symlink
Garrett Cooper
youshi10 at u.washington.edu
Sun Dec 17 13:01:42 PST 2006
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
More information about the freebsd-questions
mailing list