perlport says
link OLDFILE,NEWFILEI tried it, and after changing the original, the changes aren't reflected. Looks like it's just a plain-old copy.Not implemented. (Mac OS, MPE/iX, VMS, RISC OS)
Link count not updated because hard links are not quite that hard (They are sort of half-way between hard and soft links). (AmigaOS)
Hard links are implemented on Win32 (Windows NT and Windows 2000) under NTFS only.
I believe NTFS supports this (cause I read http://www.hlm.inc.ru/ ), but I don't believe perl(activeperl5.6 at least) implements it.
update: some links
Securiteam: [NT] NTFS Hard Links Subvert Auditing
CreateHardlink
update: Well, after looking through my \perl directory, I do find `CreateHardlink' in perl56.dll, so I don't know what's up. I still believe the implementation must be off, cause I create a file, I create a link to it using perl, I append something to , view the file, view the link, and they're different.
update: Whoa, after installing HardLinkMagic, and creating another link to my test file, it worked. This is very bizzare, veeeeeery bizzare.
update: your tests run fine now. I just dragged the files/hardlinks over to notepad, and it just didn't work the first time around. This was just weird (yes I do have NTFS, i checked ;D).
____________________________________________________
** The Third rule of perl club is a statement of fact: pod is sexy.
In reply to Re: Re: Creating shortcuts
by PodMaster
in thread Creating shortcuts
by raveguy2k
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |