• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question on Filter scheme driver example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on Filter scheme driver example


  • Subject: Re: Question on Filter scheme driver example
  • From: Dan Markarian <email@hidden>
  • Date: Tue, 18 Jan 2005 09:10:53 -0500

Hi Yogesh,

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.

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

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.


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 : email@hidden
Visit us at : www.spsoftindia.com



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


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


  • Follow-Ups:
    • Re: Question on Filter scheme driver example
      • From: Yogesh P <email@hidden>
References: 
 >Question on Filter scheme driver example (From: Yogesh P <email@hidden>)

  • Prev by Date: Re: 64 bits Kernel and 32 bits process
  • Next by Date: Re: Etherspoofing patch
  • Previous by thread: Question on Filter scheme driver example
  • Next by thread: Re: Question on Filter scheme driver example
  • Index(es):
    • Date
    • Thread