Hi Guys,

Following on from the discussion we had yesterday about factoring in GPT slices 
into the schema I just want to throw this in so that it doesn't slip through 
the cracks.

Here's a first stab at defining a gpt_slice element within the target DTD 
schema:

<!ELEMENT disk ((disk_name|disk_prop|disk_keyword|iscsi), partition*, slice*, 
gpt_slice*)>

<!ELEMENT gpt_slice (size?)>
<!ATTLIST gpt_slice name CDATA #REQUIRED>
<!ATTLIST gpt_slice action (create|delete|preserve) "create">
<!ATTLIST gpt_slice guid_type CDATA "6A898CC3-1DD2-11B2-99A6-080020736631">

The guid_type value is not very user friendly, so we may wish to consider a 
more convenient 
shorthand notation for key types;
eg. "solaris" or "esp" which matches the EFI system partition:

<!ATTLIST gpt_slice guid_type CDATA "solaris">


For explanation of guid_type, see:
http://en.wikipedia.org/wiki/GUID_Partition_Table#Partition_type_GUIDs
-- 
This message posted from opensolaris.org
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to