From owner-freebsd-questions@FreeBSD.ORG Wed Nov 12 12:38:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BD6E16A4CE for ; Wed, 12 Nov 2003 12:38:52 -0800 (PST) Received: from www6.web2010.com (www6.web2010.com [216.157.5.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98B5B43F75 for ; Wed, 12 Nov 2003 12:38:51 -0800 (PST) (envelope-from MLandman@face2interface.com) Received: from delliver.face2interface.com (dialup-wash-129-203.thebiz.net [64.30.129.203] (may be forged)) by www6.web2010.com (8.12.10/8.9.0) with ESMTP id hACKcDoq020108; Wed, 12 Nov 2003 15:38:14 -0500 (EST) Message-Id: <6.0.0.22.0.20031112153352.0507dc38@pop.face2interface.com> X-Sender: face@pop.face2interface.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 12 Nov 2003 15:38:44 -0500 To: freebsd-questions@freebsd.org From: Marty Landman In-Reply-To: <20031112200057.9D8A216A64E@hub.freebsd.org> References: <20031112200057.9D8A216A64E@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: Steve Bertrand Subject: symlink confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2003 20:38:52 -0000 At 03:00 PM 11/12/2003, you wrote: ># ln -s /home/steve/directory /tmp/directory ># rm /tmp/directory > >In testing, the original directory (/home/steve/directory) did not get removed I'm a newbie Steve so maybe will be asking more than answering here. But isn't it the case that with a soft link as you created in the first line in the second line you'd only be deleting the link itself and not the actual directory? But if you used a hard link # ln /home/steve/directory /tmp/directory # rm /tmp/directory then the real directory would be deleted? Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml