Sample Header Ad - 728x90

ioctl problem with partition

0 votes
1 answer
239 views
There is a path to the file, I make a write disk cache request via ioctl - ioctl(fd, SG_IO, &ioHdr). printk: sending ioctl 2285 to a partition!? how to find out which block device a partition belongs to ? I want to replace partition path with path to disk.
Asked by unite101010 (3 rep)
Aug 29, 2022, 02:07 PM
Last activity: Aug 29, 2022, 05:10 PM