Going from struct disk to a fh?

Sam Robb samrobb at averesystems.com
Wed Apr 14 13:23:26 UTC 2010


In the kernel, given a struct disk, is there a way to turn that into something that can be used to read/write from the disk? Or is my best bet in this situation to figure out the device path for the disk, and just use kern_open() to access it?

-Samrobb


More information about the freebsd-hackers mailing list