dgw at liwest.at
Wed Nov 12 13:02:49 PST 2003
On Wednesday 12 November 2003 20:38, Marty Landman wrote:
> 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
You can't make hard links to directories.
See ln(1) for more info.
> # 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
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions