Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2006 13:49:39 -0800
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: rm -f doesn't delete symlink: Sollution
Message-ID:  <45870CF3.2040503@u.washington.edu>
In-Reply-To: <20061218212252.9851EE0647@smtp1.galnet.dk>
References:  <20061217203138.EFA38E0625@smtp1.galnet.dk> <4585B030.3090809@u.washington.edu> <20061217211130.EC1C8E0600@smtp1.galnet.dk> <4585CD84.4060807@u.washington.edu> <20061218073239.E9100E05B3@smtp1.galnet.dk> <4586535F.5040806@u.washington.edu> <20061218212252.9851EE0647@smtp1.galnet.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45870CF3.2040503>