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
>
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to