From owner-freebsd-hackers Wed Apr 10 15:25: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by hub.freebsd.org (Postfix) with ESMTP id F1F0C37B429 for ; Wed, 10 Apr 2002 15:23:57 -0700 (PDT) Received: from pool0071.cvx40-bradley.dialup.earthlink.net ([216.244.42.71] helo=mindspring.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16vQVJ-00057E-00; Wed, 10 Apr 2002 15:23:50 -0700 Message-ID: <3CB4BB5B.96605F5@mindspring.com> Date: Wed, 10 Apr 2002 15:23:23 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dag-Erling Smorgrav Cc: Bogdan TARU , freebsd-hackers@FreeBSD.ORG Subject: Re: 'rm' incompatibility with Posix.2 References: <20020410164921.U82564-100000@fw.cgn.icom> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav wrote: > Bogdan TARU writes: > > Could you also try the NetBDS's 'rm'? If it does work like FreeBDS, than > > I really don't know what to believe anymore. > > It doesn't, actually, it removes the symlink rather than the directory > it points at. I think ut uses the value of "lstat" instead of "stat" to get the aforementioned behaviour, and specifically excepts a blank component name. This is very different than "removing the trailing '/'". If someone cares enough, I'm sure a FreeBSD developer somewhere has access to the Solaris sources, and can look... the CDROM's have not been out of production that long. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message