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. I'm going to send another diff to unix.git to define the accessors.