Re: Detect boot volume in probe()
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Shantonu Sen ssen@apple.com Sent from my Mac Pro On Dec 3, 2007, at 10:57 AM, Eric Long wrote: Hi, Thanks, Eric _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/ssen%40apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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. 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? This email sent to ssen@apple.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Shantonu Sen