How to change ContentHint of a partition
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