statvfs to calculate size to fallocate
small fixes and open() function renaming