On Fri, Jun 26, 1998 at 09:09:16PM +0200, Igmar Palsenberg wrote:
> >How do hard links and sym links differ?
>
> >Chris
>
>
> A hard link is just a copy of the file. A softlink is a real link
BZZZZZZZZZZZT!
Sorry, that's not right.
A hard link is another entry in a directory somewhere on a partition
which points to the same inode as some other directory entry somewhere
on the same partition. Both entries point to the same file, there is
only one copy of the data. Both entries point to the same inode. All
hard links must reside on the same physical disk partition as the file
being pointed to. The only difference is that they may be in different
directories and have different names/owners/groups/permissions.
A symbolic link is completely different. It is (usually) a file which has
certain attributes and which contains 'magic' data that defines what
other item on this (or another) filesystem it points to. A symbolic link
may reside on a filesystem other than the one pointed to. A symbolic link
may also point to a directory.
Fred
--
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
The Lord detests the way of the wicked
but he loves those who pursue righteousness.
----------------------------- Proverbs 15:9 (niv) -----------------------------
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.