Moving files between devices on file system leads to invalid
cross-device link by using os.Rename. Therefore another way to move
files is used, which avoids this error.
Additional library is added, which implements this feature.
Category
Bug Fix
Relevant issue
resolves #238
Testing
Tested on machine with two different hard drives, one for / inlcuding /tmp, where the tmp files are generated.
Other harddrive contains perun node.
Steps to run the tests
Mount an additional harddrive, which is different from /tmp
Checkout perun-node to new harddrive and execute make
Run ./perunnode generate
Checklist
[x ] Name is added to the NOTICE file, if it is not present already.
Description
Moving files between devices on file system leads to invalid cross-device link by using os.Rename. Therefore another way to move files is used, which avoids this error. Additional library is added, which implements this feature.
Category
Bug Fix
Relevant issue
resolves #238
Testing
Tested on machine with two different hard drives, one for / inlcuding /tmp, where the tmp files are generated. Other harddrive contains perun node.
Steps to run the tests
Checklist