This command would take one or more bare volumes (or other data files, such as drivers) and wrap them in an Apple Partition Map.
Options:
--format=im4/im5 (default: im5)
--default-driver=auto/yes/no: determine whether to automatically add a default driver such as the one from Drive Setup or something (auto=only if no driver partitions are specified)
--output=path (default: stdout)
A single argument is taken to be an Apple_HFS partition. (Can we auto-detect other volume types such as ProDOS and switch the partition type accordingly?) Other arguments are parsed as follows:
Apple_* (or --partition-type=blah): Partition type for next argument
size-spec (or --size=size-spec): Partition size for next argument (default: smallest fitting size)
anything else: interpreted as a path to a file containing partition contents (e.g., a bare HFS volume image)
A size-spec not sufficient for the partition contents assigned to that partition is an error.
Any partition type other than Apple_HFS, in a partition map of type IM4, is an error. (For IM4 partition maps, it must be translated to the partition type of 'TFS1'; no other types were defined for that format as far as I know.)
This command would take one or more bare volumes (or other data files, such as drivers) and wrap them in an Apple Partition Map.
Options:
A single argument is taken to be an Apple_HFS partition. (Can we auto-detect other volume types such as ProDOS and switch the partition type accordingly?) Other arguments are parsed as follows:
A size-spec not sufficient for the partition contents assigned to that partition is an error.
Any partition type other than Apple_HFS, in a partition map of type IM4, is an error. (For IM4 partition maps, it must be translated to the partition type of
'TFS1'
; no other types were defined for that format as far as I know.)