A block device is a computer data storage device. It organizes data into fixed sized blocks that are typically 512 or 4096 bytes long. Data is indexed by a logical block address. Block storage devices are widely available, including spinning hard drives or solid-state devices. They may be used directly by applications or may have a filesystem or other data structure layered on top of them.
Questions tagged [block-device]
139 questions
0
votes
1 answer
Mounting block device driver module on linux stopped working
I make block device driver module and insert module on Ubuntu. And then I want to mount that module as file system using 'mkfs'command. But, mkfs command didn't work more with following message:
writing superblocks and filesystem accounting…

Jimmy
- 473
- 5
- 9
- 13
-1
votes
1 answer
mkfs.ext4 on nbd gets stuck
I am trying to mkfs ext4 filesystem on /dev/nbd0 (I am on Ubuntu)
I do not get any error msg and the command just gets stuck
sudo mkfs.ext4 /dev/nbd0
I am using this BUSE code from github: https://github.com/acozzette/BUSE/blob/master/README.md …

Noor Yag
- 43
- 7
-1
votes
2 answers
How do you access secret area of any USB device?
We know interfaces based on "vtable" principle. Once you have a pointer to an object, you can narrow-cast it to an interface and the new object is the same object but is very limited to the interface. I always thought hardware firmware is somewhat…

Croll
- 3,631
- 6
- 30
- 63
-1
votes
1 answer
USB drivers fall under which category of drivers? character drivers or block drivers?
I am trying to implement USB drivers in Linux. Before that, I want to know whether USB drivers are character drivers or block drivers? or is it a separate category?

Mmh
- 399
- 1
- 5
- 16