I want to create an unsharp file with a given length (i.e. 2 GB), but I want to check if this is possible before writing material to disk.
In other words, I want that during recording there was no access to ENOSPC (there is no space left on the device). I would prefer not to create a “test file” of 2 GB or the like in order to check if there is enough space left.
Is it possible?
source
share