Date: Wed, 12 Nov 2003 22:04:12 +0000 From: Daniela <dgw@liwest.at> To: Steve Bertrand <iaccounts@northnetworks.ca>, freebsd-questions@freebsd.org Subject: Re: symlink confusion Message-ID: <200311122204.12864.dgw@liwest.at> In-Reply-To: <20031112143832.U11115@svr3.northnetworks.ca> References: <20031112143832.U11115@svr3.northnetworks.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311122204.12864.dgw>