block-device
get device flags by device name
hope you can help me: I\'m trying to determine whether the device is removable or not, all i have is device name (/dev/sdc). Actually, I need to determine when the file on removable media or on local[详细]
2023-04-10 05:52 分类:问答Concurrent writes to a file using multiple threads
I have a userlevel program which opens a file using the flags O_WRONLY|O_SYNC. The program creates 256 threads which attempt to write 256 or more bytes of data each to the file. I want to have a total[详细]
2023-03-30 06:34 分类:问答How can I identify the request queue for a linux block device
I am working on this driver that connects the hard disk over the network. There is a bug that if I enable two or more hard disks on the computer, only the first one gets the partitions looked over and[详细]
2023-03-22 16:51 分类:问答How to combine multiple struct BIOs into a single struct request?
I\'m working on Linux kernel version 2.6.39.1, and am developing a block device driver. In this regard, I want to combine multiple struct bios into a single struct request, which is then added to the[详细]
2023-03-19 12:01 分类:问答Working with block special files/devices to implement a filesystem
I\'ve implemented a basic filesystem using FUSE, with all foreseeable POSIX functionality implemented [naturally I haven\'t even profiled yet ;)]. Currently I\'m able to run the filesystem on a regula[详细]
2023-01-14 11:15 分类:问答How to create a "Block device" in Windows
For those familiar with Linux, it is possible to create a module and register it as a block device. This allows the user to mount it as a regular disk (while all the block I/O is handl开发者_StackOver[详细]
2022-12-09 07:09 分类:问答