in reply to Re: Creating shortcuts
in thread Creating shortcuts
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Creating shortcuts
by helgi (Hermit) on Oct 15, 2002 at 11:33 UTC | |
by BrowserUk (Patriarch) on Oct 15, 2002 at 12:11 UTC | |
by jsprat (Curate) on Oct 15, 2002 at 19:22 UTC |