Re: Detect boot volume in probe()
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Dec 4, 2007, at 8:54 AM, Eric Long wrote: That's a complex question that doesn't have a simple answer. What are you really trying to do? = Mike _______________________________________________ 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... My software blocks external devices from mounting until a user authorizes the mount. In the case of an external boot volume though, that can never happen, since if the driver holds up that device, there will never be the opportunity to authorize. In the case of the boot device search, you can't reliably do this. The device that will be chosen as the root device is not reliably knowable until the decision is actually made. One perhaps obvious question here; why are you trying to block mounting at this point? Why not get involved with Disk Arbitration instead? If your concern is with mounting volumes, blocking the probing of disk devices assumes a direct relationship between the two that, as Shantonu points out, does not necessarily exist. This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Smith