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
Last activity: Aug 29, 2022, 05:10 PM