HenrikBengtsson / easycatfs

easycatfs - Easy Mounting of Slow Folders onto Local Disk
https://github.com/HenrikBengtsson/easycatfs
3 stars 0 forks source link

Protect against clashing mounts on the same machine #1

Closed HenrikBengtsson closed 2 years ago

HenrikBengtsson commented 2 years ago

If multiple job scripts run on the same machine and they mount the same folder, the first script that unlimited this folder will break the mount point for the other processes.

HenrikBengtsson commented 2 years ago

Updated so that the temporary root folder is unique to calling process:

$ echo "PID=$$"

$ easycatfs config
mount_root=/tmp/alice/ppid=15187

$ easycatfs config
mount_root=/tmp/alice/ppid=15187