Question

I have found a program that can make you save space by hardlinking files that are actually the same, thus leaving only one copy of the file on the file system with more than one hardlink pointing to it. The program is called hardlink.

This is very nice as I have at last found a way to save space on my backup disk for old backups I have made before I knew about rsync and incremental backups.

After such a lengthy introduction, any reader would expect a question, so here it is:

Would it be safe to use hardlinks to save space on a ntfs partition? The hardlinks would of course be created from Linux, using the hardlink program mentioned above. More precisely, will Windows (any version) be able to then use the files that would have been replaced by hardlinks?

Many thanks

Was it helpful?

Solution

There are hardlinks on Windows. They are created by the CreateHardLink system call in kernel32.dll. As to whether your hardlink program would work over remote shares, I wouldn't know, but a native one or one from cygwin would.

Now the real question is whether or not Windows programs handle them. Even Windows Explorer fails to calculate disk space used for hardlinks correctly.

OTHER TIPS

I guess that the program hardlink will either fail because hard links doesn’t exists on Windows or create Windows shortcuts.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top