Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2010 09:08:50 -0400
From:      Sam Robb <samrobb@averesystems.com>
To:        freebsd-hackers@freebsd.org
Subject:   Going from struct disk to a fh?
Message-ID:  <1DF133F5-6B00-4F06-8837-946702226A54@averesystems.com>

next in thread | raw e-mail | index | archive | help

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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1DF133F5-6B00-4F06-8837-946702226A54>