Re: Detect boot volume in probe()
Re: Detect boot volume in probe()
- Subject: Re: Detect boot volume in probe()
- From: Shantonu Sen <email@hidden>
- Date: Mon, 3 Dec 2007 11:38:06 -0800
That's a complex question that doesn't have a simple answer. What are
you really trying to do?
IOKit drivers are probed asynchronously and without respect to their
purposes. When block storage devices come online, the kernel decides
which one is the root filesystem. If you are netbooting, none of them
may be the root filesystem. If you are booting from software RAID,
more than one of the physical devices might contribute to the logical
root volume.
Shantonu Sen
email@hidden
Sent from my Mac Pro
On Dec 3, 2007, at 10:57 AM, Eric Long wrote:
Hi,
Is it possible for a storage driver to determine if the volume in
question
is the boot volume when the driver's probe() method is called?
Thanks,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden