• 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
How to change ContentHint of a partition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to change ContentHint of a partition


  • Subject: How to change ContentHint of a partition
  • From: "Mekhala" <email@hidden>
  • Date: Tue, 1 Feb 2005 16:28:52 +0530

Hi,
 
I have written a filter scheme driver and have set ContentHint to "MySoftware_MyContent". My concern is to modify ContentHint of the specific volume  to "MySoftware_MyContent", so that my driver gets loaded for that particular partition only.
    If I create logical volumes using diskutility, it puts the Content Hint value as "Apple_HFS" by default. If I have to load my driver
for this logical volume I have to override the Content Hint. But I don't know how to override this content hint.
    Does diskutility provides any functionality to override the Content Hint of the partition without loosing partitions data???
I have also added
some functionality in my filter scheme driver to override the Content Hint of the partition by reading the Content Hint of all the partitions by using function getContentHint() and override the value of this Content Hint by using setProperty() function but it is not changing the ContentHint. Kindly guide how can I modify the ContentHint of a volume.
Thanking you in anticipation.
 
Regards,
Mekhala
 _______________________________________________
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: How to change ContentHint of a partition
      • From: Dan Markarian <email@hidden>
  • Prev by Date: Re: Communicating from kernel extension to application?
  • Next by Date: Re: How to change ContentHint of a partition
  • Previous by thread: Re: IOLog on serial port? Or to use kprintf?
  • Next by thread: Re: How to change ContentHint of a partition
  • Index(es):
    • Date
    • Thread