On Sun, Apr 11, 1999 at 07:56:28AM +0200, Steve Crane wrote:
>> ln -s <source> <target>
>> 
>> the '-s' option creates a symbolic link instead of a hard link.
> 
> I've often wondered just what is meant by 'symbolic link' and 'hard
> link'.  The man page for ln mentions, but doesn't explain them.  Can
> someone explain the difference or point me to some docs that do explain
> the difference.

Without being technical:

A hard link can't be seen different from the orginal file. They point to 
the same data. If File A is deleted, File B still points to the data.

File A  --> data  <-- File B

A soft link points to the original entry. If File A is deleted, the link
from File B is broken.

File B --> File A --> data.


I hope this makes it a little bit clearer.

Cees.
-- 
bIjatlh 'e' yImev. yItlhutlh!
Stop talking! Drink!
       Mark Okrand, "Star Trek: The Klingon Way - A Warrier's Guide"
--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to