site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi Yogesh, Dan On 15 Jan 2005, at 8:21 AM, Yogesh P wrote: Hi folks, I had gone through the Mass storage driver pdf and according to the example given in the pdf for Developing filter scheme driver write sample filter scheme driver and it works fine for the diskimage which i had created through hdiutil I have four partitons with Apple_HFS content hint which i had created during installation of MAC OS X. I want to know if i specify the "Content Hint" as Apple_HFS will my filter scheme driver work for all the four partitions other than the diskimage partition i have created using hdiutil??? Thanks in advance, YOGESH PAHILWAN (SOFTWARE ENGINNER) S P Software Technologies (I) Pvt. Ltd. (An ISO 9001:2000 Company) Pune, Maharashtra, India - 411 004. Tel : 91-20-4006154, 4006983, 4007503. Fax : 91-20-4006153. Email : pahilwan.yogesh@spsoftindia.com Visit us at : www.spsoftindia.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... If you match Apple_HFS content, then produce Apple_HFS content, then you would match recursively forever. It is advisable to either change the partition type to com_spsoftindia_HFS on the specific volumes the user is interested in enabling your software on, or if it needs to be transparent to all volumes, then add a property on the media object you produce, such that you can tell when it recurses in your probe() by checking for the property, and failing the match if you see it. In this example i specify "Content Hint" property as MySoftwareCompany_MyContent in the IOKit personality for driver matching and read/write calls in my filter scheme driver works fine when i write or read on this partition. But when i specify "Content Hint" property as Apple_HFS which i think is the default content hint for the partitions created on MAC OS X and load my filter scheme driver which also has this property with the value Apple_HFS i doesn't get the read/write IOLogs on the console and sees only start and init function IOLogs repeatedly. _______________________________________________ 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/ markarian%40apple.com This email sent to markarian@apple.com This email sent to site_archiver@lists.apple.com