The following codes apply to
write operations.
[EFAULT] |
Failure copying from user
to kernel space or vice versa. |
[EINVAL] |
One of the following conditions
occurred:
- The operation that is requested has invalid parameters or an invalid
combination of parameters.
- The number of bytes requested in the write operation
was not a multiple of the block size for a fixed block transfer.
- The number of bytes requested in the write operation
was greater than the maximum block size allowed by the device for
variable block transfers.
|
[EIO] |
The physical end of the
medium was detected, or it is a general error that indicates a failure
to write to the device. Perform failure analysis. |
[ENOMEM] |
Insufficient memory was
available for an internal memory operation. |
[ENOSPC] |
A write operation failed
because it reached the early warning mark. This error code is returned
only one time when the early warning is reached and trailer_labels is
set to true. A write operation was attempted
after the device reached the logical end of the medium and trailer_labels were
set to false. |
[EPERM] |
A write operation
was attempted on a write protected tape. |