What does errno 15 (ENOTBLK) in Solaris mean?

 
Could be also:
ConstantTypeOS
ERROR_INVALID_DRIVEWin32 errorWindows
KERN_INVALID_NAMEKern returnMac
ippStsLSFLowAndHighIntel Ipp StatusAny
ENOTBLKerrnoLinux
ENOTBLKerrnoMac
SPIN_LOCK_ALREADY_OWNEDBugCheck CodeWindows
Previous Next
ENOTBLK EBUSY

ENOTBLK

Block-special device requirement

ENOTBLK is Solaris errno 15 (Block device required). Solaris expected a block-special device, usually in a mount or device-management path.

Confirm the resolved device node type with filesystem metadata before changing mount arguments. A character device, regular file, or stale path can exist and be accessible while still failing an operation that specifically requires a block device.

What to check

  • Verify that the pathname names a block device rather than a regular file, character device, directory, or symlink to the wrong object.
  • For mount-style failures, compare the device node, filesystem type, and privileges used by the caller.
  • Do not treat this as a media I/O failure; it is usually an object-type mismatch.

References


Looking for a different code? Search another status or error code.