Sia host doesn't do a free space check while creating a new folder
Currently, it's possible to create (with siac, don't know if this is possible in the gui too), for example, a 2TB host folder, on a 1TB drive, with only 300GB free disk space. This should not be possible.
The sia daemon/host module should refuse to create a folder if the disk space where the folder would lay is less than what the user requests.
How to reproduce it (as minimally and precisely as possible)
siac host folder add /path/to/small/partition 2TB
- Sia version: 1.3.1
- OS: Archlinux