Re: HardLink ?



On Thu, Dec 9, 2010 at 7:08 AM, admin lewis <adminlewis@xxxxxxxxx> wrote:
2010/12/9 JB <jb.1234abcd@xxxxxxxxx>
admin lewis <adminlewis <at> gmail.com> writes:

A hard link is basically a link to the i-node number of the original file.

i-node numbers are not portable across different disks.

Hard links can only be created to files on the same file system.

To create a hard link, the original file and the link file should exist in
the
same partition.

LVM is a logical superstructure consisting of different physical
partitions on same or different disks.

different phisical partitions ?
why ... the phisical partitions are those:
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63      409662      204800   83  Linux
/dev/sda2          409663   488392064   243991201   83  Linux

maybe u mean virtual partitions... ?

Hard links can't cross fliesystems because two hard-linked files point
to the same inode.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • Re: copy to windows98 partition
    ... Symbolic links work between partitions, ... A hard link, is essentially another directory entry for an ...
    (alt.os.linux.suse)
  • Re: Deleting a read-only hard link
    ... You can delete the original file as you wish, ... a symbolic link will be updated ... new hard link also called FILE3 that points to FILE2. ... read-onlyness of the original files? ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Hardlinks not updating?
    ... Hence, if a file is modified thru one hardlink, shouldn't the ... When you create a hard link to a file on an NTFS volume, NTFS adds a directory entry for the hard link without duplicating the original file. ... Hard links do not have security descriptors; instead, the security descriptor belongs to the original file to which the hard link points. ...
    (microsoft.public.windowsxp.general)
  • Re: Hardlinks not updating?
    ... Hence, if a file is modified thru one hardlink, shouldn't the ... When you create a hard link to a ... without duplicating the original file. ... Hard links do not have security descriptors; ...
    (microsoft.public.windowsxp.general)
  • [Full-Disclosure] Re: hard links on Linux create local DoS vulnerability and security problems
    ... This hard link continues to exist even if the original file ... > owner, it is still counted to his quota. ... > when the administrator has fixed the security whole by removing or replacing ...
    (Full-Disclosure)