What is the problem?
How can I change the temporary download folder path from /tmp (/dev/sda1) to /gcode (/dev/sda2)? I don't have space for large files on sda1, but I have plenty of free space on sda2. The OS is last AntiX.
What did you already try to solve it?
Maybe I mount the USB drive as "/tmp"? I tried, but the files aren't saved. An error immediately appears, and the log show an access error, even though I can read and write files to the USB drive by WinSCP.
When adding the line "/tmp /home/user/tmp auto bind 0 0" to /etc/fastab, temporary files began copying to both /tmp (on /dev/sda1) and /home/user/tmp (on /dev/sda2).
When adding the line "tmpfs /tmp tmpfs defaults 0 0" to /etc/fastab, file copying occurs correctly (PC -> RAM -> Upload folder), but PuTTY and WinSCP stopped connecting. This is very strange, since the /tmp folder is usually empty during normal operation.
After completing the experiments, I returned everything to its original state.
Additional Information
I probably need to edit the "config.yaml" file, but I can't find the information I need. Only about the "timelapse_tmp" parameter.