Quote:
Originally Posted by geekmaster
On a FAT, your "hard-link" is called a "cross-link". Disk checkers would report that as an error. Cross-linking is a common method of de-duplication used inside .ISO images, which is safe to due when they are mounted read-only (or burned onto read-only media). On a FAT partition it would be better to just provide multiple copies (which is how I did it for my SDL port).
I like how cygwin replaces symlinks with windows shortcuts, but that only works in a cygwin shell. We only have 3GB when the USB drive is not already full of other stuff (like mine), so replacing symlinks with multiple is not an ideal solution, even though it seems to be the most reliable option available on a FAT partition. 
|
Yes. There are 3 mainstream MS tools that may be massaged into doing similar roles on various incarnations of MS file systems.
Ranging from a DEBUG Dos hack, another early MS tool whose name evades my mind, XP's "fsutil hardlink foo bar", vista's mlink, 2003 servers linkd, 3rd party things like
Symlinker,
Winbolic, one could
edit the directory-entries manually using a hex editor, we could
hijack a related mechanism, etc into more and more obscure and provisional solutions.
Since you are the adventurous and inquisitive type no doubt you will enjoy having a peek in here then.
This in essence provides links on FAT.http://homepage1.nifty.com/emk/symlink-1.06-src.zip
I gave it a once over, elegant really. This was the code I was referring to, still not a one stop solution in the short term but maybe... meh. no it doesn't dumass. ntfs again. BAH - note to self translate comments before bothering others.
time will tell how desperate we are. : )
Any awesome ideas warmly welcomed.