I'd like to add the following two functions to System.Posix.Files:
blockSize :: FileStatus -> BlockSize
blockCount :: FileStatus -> BlockCount
These fields of the stat record are specified by POSIX (see https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html), but Haskell accessors for them are currently missing.
As System.Posix.Files is defined in unix.git repo, I need to check in the types first. See my pull request to unix package: https://github.com/haskell/unix/pull/123