man fsync ERROR
man fsync ERROR
Lyrics
EBADF fd is not a valid open file descriptor.
EINTR The function was interrupted by a signal; see signal(7).
EIO An error occurred during synchronization. This error may
relate to data written to some other file descriptor on
the same file. Since Linux 4.13, errors from write-back
will be reported to all file descriptors that might have
written the data which triggered the error. Some
filesystems (e.g., NFS) keep close track of which data
came through which file descriptor, and give more precise
reporting. Other filesystems (e.g., most local
filesystems) will report errors to all file descriptors
that were open on the file when the error was recorded.
ENOSPC Disk space was exhausted while synchronizing.
EROFS, EINVAL
fd is bound to a special file (e.g., a pipe, FIFO, or
socket) which does not support synchronization.
ENOSPC, EDQUOT
fd is bound to a file on NFS or another filesystem which
does not allocate space at the time of a write(2) system
call, and some previous write failed due to insufficient
storage space.
[ad_2]
source