@balena/direct-io (npm): Direct IO helpers for block devices and regular files on FreeBSD, Linux, macOS and Windows.
Keywords: _aligned_buffer|aligned buffer|alignment|block size|block device path|device size|direct memory access|disk cache|disk size|dma|F_NOCACHE|FSCTL_LOCK_VOLUME|FSCTL_UNLOCK_VOLUME|logical sector size|mechanical sympathy|O_DIRECT|O_DSYNC|O_EXCL|O_EXLOCK|O_SYNC|opening block device|physical sector size|posix_memalign|raw disk|throughput|volume|zero copy