Re: Filter Scheme Driver, partition with diskutil, user defined partition type
site_archiver@lists.apple.com Delivered-To: Darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:user-agent:date:subject:from :to:cc:message-id:thread-topic:thread-index:in-reply-to:mime-version :content-type:content-transfer-encoding; bh=1ljC3MmRUmToHVMZL/uDVSkOQzrt9cprnpd4CHJTuLA=; b=yCIroSC3LsC9AulQ60VVcJsNu3ZJ26E1ig/mY4JbvBxbEhzsegFfvrth67n9zG0rJP KSrS+y3916TT1C84FL5YQjC4ni3CVgxhSOqh0S9v4hhQCtAX7KQOzD1WLcxzFkszvoK2 WYb7Lc/BjlAFIDPMVAr67ZRzoL6fg196etk5Y= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=GW4pSVw20H5+/aJWEknwijBKL4fAkqCgitc6/F1hrmXmefQID1BKhKUVvCpZi9Amj1 FIOzP8IVL+6s6+QxqVSJqfdtnI+/3g035iolesNnDJG357n86Kt1tuOFUXBraksEyoIm p2fJZbtPUPNgJ20BNrbJHXMqdUpSXtfYNTy3c= Thread-index: AclTybjBkzDjuhrroUiNag1HwFnl6Q== Thread-topic: Filter Scheme Driver, partition with diskutil, user defined partition type User-agent: Microsoft-Entourage/12.0.0.071130 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" <csuter@sutes.co.uk> wrote:
On Mon, Dec 1, 2008 at 2:19 PM, Sparta <theultimatespartan@gmail.com> 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Sparta