rm -f doesn't delete symlink: Sollution
Garrett Cooper
youshi10 at u.washington.edu
Mon Dec 18 13:49:49 PST 2006
Jeppe Bundsgaard wrote:
> At 09:37 18-12-2006, you wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Jeppe Bundsgaard wrote:
>> > At 00:06 18-12-2006, you wrote:
>> >> Jeppe Bundsgaard wrote:
>> >>> At 22:01 17-12-2006, you wrote:
>> >>>> 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
> Thanks again for your help.
>
> I finally found the - of course very simple - sollution my self. It
> was rm that was corrupt. Luckily I has another server with FreeBSD, so
> I used lftp to copy rm to /bin - and now it works again. Only I wonder
> what other important files are corrupted - and how this happened...
>
> Jeppe
No softupdates on /? I noticed that that particular item wasn't turned
on by default when I recently redid my machine.
I wonder why unlink didn't work though, because I thought rm depended on
unlink. Hmm..
-Garrett
More information about the freebsd-questions
mailing list