Frank Thommen - 2020-09-21

Dear all,

I am currently implementing a scripted, non-interactive way to create
encrypted VeraCrypt containers on external harddrives on a Linux system.
The container should always use all available space on the external
drive. Is there a way to detect exactly how much space is available?

I can list the available disk space with df -hl, however - probably
due to rounding effects - these values are often to high. The maximum
available disk space displayed in the VeraCrypt UI is mostly smaller
than the value gotten by df -hl.

Does anyone know, how to get exactly the number that VeraCrypt shows as
maximum available disk space for an encrypted container?

Thanks, Frank