From owner-freebsd-questions@FreeBSD.ORG Sun Dec 17 21:01:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB69916A403 for ; Sun, 17 Dec 2006 21:01:42 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E2E543C9D for ; Sun, 17 Dec 2006 21:01:41 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBHL1fJL007895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 17 Dec 2006 13:01:41 -0800 X-Auth-Received: from [128.208.5.99] (nilakantha.cs.washington.edu [128.208.5.99]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kBHL1eJs026978 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 17 Dec 2006 13:01:40 -0800 Message-ID: <4585B030.3090809@u.washington.edu> Date: Sun, 17 Dec 2006 13:01:36 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20061217203138.EFA38E0625@smtp1.galnet.dk> In-Reply-To: <20061217203138.EFA38E0625@smtp1.galnet.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.12.17.124432 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: rm -f doesn't delete symlink X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2006 21:01:42 -0000 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