hard link is a second (third ...) entry in the inode table to the same
physical blocks on the partition. this is why you can not make hard link
accross different partitions. a file is really deleted when the number of
hard link to it becomes zero (there is a counter of hard links to a file
that can be checked using ls -l (2nd field).
soft link is physically a file on your partition (takes some room, not
much though) interpreted by the system. its content describe what other
file should be opened by the system. this second file referenced by a
soft link can be on another partition, or can even no longer exist. there
is no way to know how many soft links are pointing to a file.
hope this helps
pascal
-----Original Message-----
From: C.Jagadish [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, April 13, 1999 11:01 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: hard and symbolic links
Dear Sirs,
I have small a doubt, what is the differnce between hard links and
symbolic links ?
Regards
CJA
-====---====---====---====---====---====---====---====---====---====---===
=-
to unsubscribe email "unsubscribe linux-admin" to
[EMAIL PROTECTED]
See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/
-====---====---====---====---====---====---====---====---====---====---====-
to unsubscribe email "unsubscribe linux-admin" to [EMAIL PROTECTED]
See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/