HardLink ?

Tom H tomh0665 at gmail.com
Thu Dec 9 12:15:43 UTC 2010


On Thu, Dec 9, 2010 at 7:08 AM, admin lewis <adminlewis at gmail.com> wrote:
> 2010/12/9 JB <jb.1234abcd at gmail.com>
>> 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.


More information about the users mailing list