hpc / mpifileutils

File utilities designed for scalability and performance.
https://hpc.github.io/mpifileutils
BSD 3-Clause "New" or "Revised" License
169 stars 68 forks source link

Extend support to all POSIX file types where possible #315

Open adammoody opened 4 years ago

adammoody commented 4 years ago

The suite currently supports directories (S_IFDIR), regular files (S_IFREG), and symlinks (S_IFLNK) uniformly across all tools and common library API calls. We should expand the suite to handle all POSIX types by adding sockets (S_IFSOCK), block devices (S_IFBLK), character devices (S_IFCHR), and FIFOs (S_IFIFO) where possible. For tools/calls where that does not make sense or more time is needed to add support, we can document the limitations, check for those types while processing, and print warnings/errors.

mkgilbert commented 4 years ago

+1 for adding support for socket types. I just ran into an issue today where I couldn't verify a dcp because a user had a socket file buried in their data. I'm not sure how generally helpful it is to be able to make copies of socket files, but at the very least, having the feature would make verification of copies more stable.