Creating Hardlink

Here we go, If i ask u one problem:
create three files with different names in such a way that u edit one file and all three reflects the change same time or the things from one file gets into others too, without even allocating a bit more space in harddisk?

The answer is here, if the drive type is NTFS

Then u can use the hardlinks, hardlink is a link to a file so that it always points to the original file location in drive sectors, so even if u delete the original file, it still remains intact, so to delete it completely, delete all hardlinks also to that file,

first create a file and then to create its hardlink the following command works:

FSUTIL hardlink create new filename existing filename

and create many hardlinks with different names to the same file and then change or edit any one of'em and everyone will get the reflectionm...enjoy

No comments:

Post a Comment