forked from hashdist/hashdist
-
Notifications
You must be signed in to change notification settings - Fork 0
HardlinksVsSymlinks
certik edited this page Mar 31, 2012
·
2 revisions
Symlinks have the advantage of providing more information about what's going on under the hood when doing the "ls" command. It's also easy to use "ls" to see what build artifacts make up the profile, rather than storing this information somewhere else that you have to know about.
Hardlinks are not possible across filesystems. If one wants to link to things on the host system, one would often need to use symlinks (in particular on a cluster, system might be on the disk and the build store would be on a network file system; and one does want to read data from local disk so copying the file is a no-go).