Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hardlinks?
#1
Recently I stumpled upon this page, which describes the poorly documented symbolic and hard link feature in Windows 2000+, which is well known in the Unix world: http://shell-shocked.org/article.php?id=284

In my opinion, implementing this in LaunchBase instead of the "file copy"-method would have several advantages:
  • General speedup
  • Crashes won't screw LaunchBase since it doesn't need to copy changed files (like savegames) back into the mods directory or delete any files in order to run normally again
  • It even works across a LaunchBase reinstall!

Marshall, what do you think about this idea? Is it even possible to implement with VisualBasic? Also I don't know how YR will react to symbolic/hard links but I think at least hard links should't be a problem.

[offtopic]Scheiße ist mein Englisch eingerostet Unhappy[/offtopic]
[Image: osen2o7mpmm4jg1fs0.jpg]
Reply
#2
Well, if VB doesn't support it, he can always execute mklink manually Smile

I just tested by hardlinking ares.dll, ares.dll.inj and rulesmd.ini to a different folder. Worked just fine. W7 Pro x64.

Worth playing: 1 | 2 | 3
Reply
#3
That sounds like a very good idea to me.

This can even be used to have multiple concurrent Ares versions downloaded - just download Ares versions into a folder Ares/[branch name]/, and then create links Ares.dll → Ares/[branch name]/Ares.dll.
That would make re-acquisition of files after a branch switch only necessary if something was updated, or the respective branch wasn't downloaded yet.
Forum Rules

(01.06.2011, 05:43:25)kenosis Wrote: Oh damn don't be disgraced again!

(25.06.2011, 20:42:59)Nighthawk Wrote: The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
Reply
#4
Hard links are only supported on NTFS. But the poor people still running on FAT do have other problems. Is anybody using FAT32 these days?
Windows uses hard links for its own system files, so this isn't some kind of esoteric stuff.
Reply
#5
Quote:Hard links are only supported on NTFS. But the poor people still running on FAT do have other problems. Is anybody using FAT32 these days?
Anyone still using Windows XP Home Edition will likely be using FAT32. But other versions of XP and anything higher should be using NTFS by default.
Ares Project Manager.
[Image: t3wbanner.png]
[Image: cncgsigsb_sml.png]
Open Ares positions: Documentation Maintainer, Active Testers.
PM if interested.
Reply
#6
Nonsense, most installations of even XP home are to NTFS formatted drives by default. If they aren't yet ntfs, the convert command will upgrade them. Only Win98/millenium users will be stuck.
Reply




Users browsing this thread: 1 Guest(s)