---
title: notBlockDevice
framework: system
role: symbol
role_heading: Type Property
path: system/errno/notblockdevice
---

# notBlockDevice

Not a block device.

## Declaration

```swift
static var notBlockDevice: Errno { get }
```

## Mentioned in

Adopting Swift Error Constants

## Discussion

Discussion You attempted a block device operation on a nonblock device or file. The corresponding C error is ENOTBLK.

## See Also

### Device Errors

- [deviceError](system/errno/deviceerror.md)
- [devicePowerIsOff](system/errno/devicepowerisoff.md)
- [inappropriateIOCTLForDevice](system/errno/inappropriateioctlfordevice.md)
- [ioError](system/errno/ioerror.md)
- [noSuchAddressOrDevice](system/errno/nosuchaddressordevice.md)
- [operationNotSupportedByDevice](system/errno/operationnotsupportedbydevice.md)
