From owner-freebsd-stable Fri Aug 10 8:27:29 2001 Delivered-To: freebsd-stable@freebsd.org Received: from greg.cex.ca (h24-207-40-244.dlt.dccnet.com [24.207.40.244]) by hub.freebsd.org (Postfix) with SMTP id 98EEE37B405 for ; Fri, 10 Aug 2001 08:27:25 -0700 (PDT) (envelope-from gregw-freebsd-stable@greg.cex.ca) Received: (qmail 51252 invoked by uid 1001); 10 Aug 2001 15:29:07 -0000 Mail-Followup-To: freebsd-stable@freebsd.org Date: Fri, 10 Aug 2001 08:29:07 -0700 From: Greg White To: FreeBSD-Stable Subject: Re: removing a symbolic link in 4.4-PRERELEASE Message-ID: <20010810082907.B44299@greg.cex.ca> References: <3B73BC3B.CE1192A8@trampisch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B73BC3B.CE1192A8@trampisch.com>; from thorsten@trampisch.com on Fri, Aug 10, 2001 at 12:49:31PM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Aug 10, 2001 at 12:49:31PM +0200, Thorsten Trampisch wrote: > Hi, > > after upgrading to 4.4-PRERELEASE via CVSup removing a symbolic link to > a directory > does not remove the link but the contents of the linked directory. > > Is this behavior a bug or why does it not work like I expected it to? It still works the same way I have become accustomed to in FreeBSD. Given that 'bar' is a symlink to 'foo': 1. rm -rf bar/ #Results in removal of foo and its contents 2. rm -rf bar #Results in removal of bar synlink. Not what I expected the first time I ran it, but apparently stock behaviour. Been this way since at least 4.1, when I switched from Linux to FreeBSD at home. What makes you think the semantics have changed for 4.4-PRE? -- Greg White To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message