Date: Wed, 12 Nov 2003 15:38:44 -0500 From: Marty Landman <MLandman@face2interface.com> To: freebsd-questions@freebsd.org Cc: Steve Bertrand <iaccounts@northnetworks.ca> Subject: symlink confusion Message-ID: <6.0.0.22.0.20031112153352.0507dc38@pop.face2interface.com> In-Reply-To: <20031112200057.9D8A216A64E@hub.freebsd.org> References: <20031112200057.9D8A216A64E@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.0.20031112153352.0507dc38>