Top "Block-device" questions

A block device is a computer data storage device.

Getting live info from /dev/input

I am unsure if this is the correct place for this question. I am attempting to obtain the axis position …

device c udev block-device
devicePolicyManager.lockNow() is not working for Motorola Tablets

public final static void lockDevice() { try { if (devicePolicyManager.isAdminActive(adminComponent)) { devicePolicyManager.lockNow(); } } catch (final Exception ex) { ... } } The above code does …

android locking motorola block-device device-policy-manager
The bio structure in the Linux kernel

I am reading Linux Kernel Development by Robert Love. I don't understand this paragraph about the bio structure: The basic …

linux-kernel block-device
why is virtio-scsi much slower than virtio-blk in my experiment (over and ceph rbd image)?

Hi I recently did a experiment of virtio-scsi over rbd through qemu target (for its DISCARD/TRIM support), and compared …

performance qemu libvirt scsi block-device
How to revert bcache device to regular device

I have a 20 gb SSD device on my laptop that i decided to try bcache on. It seemed to work, …

linux filesystems block-device diskcache bcache
read() from a HDD with O_DIRECT fails with 22 (EINVAL, Invalid Argument)

I want to make a basic read() from a SATA HDD /dev/sdd. A write() seems to work. Also read() …

linux io hdd block-device