From owner-freebsd-questions@FreeBSD.ORG Wed Nov 12 13:08:29 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 059E916A4CE for ; Wed, 12 Nov 2003 13:08:29 -0800 (PST) Received: from lilzmailfe01.liwest.at (lilzmailfe01.liwest.at [212.33.55.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9336A43FF7 for ; Wed, 12 Nov 2003 13:08:27 -0800 (PST) (envelope-from dgw@liwest.at) Received: from [212.33.58.27] (helo=cm58-27.liwest.at) by lilzmailfe01.liwest.at with esmtp (Exim 4.14) id 1AK2Dy-0007Xt-6z; Wed, 12 Nov 2003 22:08:26 +0100 From: Daniela To: Steve Bertrand , freebsd-questions@freebsd.org Date: Wed, 12 Nov 2003 22:04:12 +0000 User-Agent: KMail/1.5.3 References: <20031112143832.U11115@svr3.northnetworks.ca> In-Reply-To: <20031112143832.U11115@svr3.northnetworks.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311122204.12864.dgw@liwest.at> Subject: Re: 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 21:08:29 -0000 On Wednesday 12 November 2003 19:48, Steve Bertrand wrote: > Could someone please briefly describe the reactions to the following > actions? Sometimes I delete the original directories by deleting links, > and hopefully someone can give me some insight. > > # ln -s /home/steve/directory /tmp/directory > # rm /tmp/directory > > In testing, the original directory (/home/steve/directory) did not get > removed, but in reality, I am dealing with my X11R6 directory which had to > be moved temporarily to make room for a port install. > > # ln -s /usr/X11R6 /home/steve/X11R6 > > Which put a new link from the original to the new location. > > If I # rm /home/steve/X11R6, will I be safe as to not delete the original > directory? What does: # ls -l /usr/X11R6 /home/steve/X11R6 tell you? I'm currently a bit confused. > If this is true, what could I have done in the past that would of seen an > entire directory structure deleted by deleting the link? > > Tks for your input. > > Steve > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"