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

 This is not correct.  A hard link is *not* a copy of the file, it
is a copy of the file header linking to the rest of the file in its
original location on the disk.

 If you take a file of size n and make a hard link to it, the
disk use of the two will be n, not 2n.

 The disk use of the original file and a symlink will be
n + <length of path to file>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
James H.G. Redekop | [EMAIL PROTECTED]
Web Programmer     | http://www.residents.com/          The Residents
UUNET Canada       | http://www.residents.com/Goons/    The Goon Show
[EMAIL PROTECTED]     | http://www.residents.com/Tzoq/         Home Page


-- 
  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.

Reply via email to