Because I’m using large files which are tens of gigabytes, I want to use hardlinks as my filesystem doesn’t support reflinks.
I executed the following commands
dvc config cache.type = hardlink dvc config cache.protected = true dvc checkout
However when I checked using
ls -i the inodes of the file in .dvc/cache and the file in my working directory, they are still different.
Are there any further steps I need to take to get hardlinks to be used?
Also I noticed that both the file in the working directory and cache were still writable, when I thought that they should have been made read-only by using
cache.protected = true
Is my understanding here mistaken?
I mistyped the commands above. I actually had executed them correctly, i.e.:
dvc config cache.type hardlink dvc config cache.protected true dvc checkout