Re: Filter Scheme Driver, partition with diskutil, user defined partition type
Re: Filter Scheme Driver, partition with diskutil, user defined partition type
- Subject: Re: Filter Scheme Driver, partition with diskutil, user defined partition type
- From: Sparta <email@hidden>
- Date: Mon, 01 Dec 2008 21:00:21 +0530
- Thread-topic: Filter Scheme Driver, partition with diskutil, user defined partition type
Hi Chris,
I tried creating a partition type of user defined name with gpt, but it does
not allow me to do so.
It accepts either alias name for the existing UUIDs or the UUID itself!!!
I receive the following messages as per the response
# gpt add -t hfs disk1
disk1s2 added
# gpt add -t Apple_DTS_Filtered_HFS disk1
usage: gpt add [-b lba] [-i index] [-s lba] [-t uuid] device ...
Am I passing any wrong parameter???
--
Thanks and Regards,
Sparta...
On 12/1/08 8:19 PM, "Chris Suter" <email@hidden> wrote:
> On Mon, Dec 1, 2008 at 2:19 PM, Sparta <email@hidden> wrote:
>
>> I am writing a driver similar as Sample Filter Scheme.
>> I have gone through all the possible posts on the mailing list regarding
>> this.
>> In all the examples everyone has used pdisk to define the partition type of
>> the disk.
>> Due to the advancement in the technology we have intel machines for Mac now
>> and so I can not use this command as in general.
>
> You can still use Apple partition maps on Intel machines; they work fine.
>
>> I tried gpt too, but it has a note below saying "The development of the gpt
>> utility is still work in progress."
>
> You can use gpt. GUID partition maps use UUIDs to identify the
> partitions and that's what you'll see in the Content Hint strings. You
> can use gpt to create a partition for a UUID of your own choosing.
>
> You'll presumably want things to work on Apple Partition maps, GUID
> partition maps and possibly MBR partition maps in which case you'll
> need to pick appropriate identifiers for each of them.
>
> -- Chris
_______________________________________________
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