On 09/10/10 04:18 PM, Dave Miner wrote:
On 09/10/10 05:29 AM, Jan Damborsky wrote:
[snip]
I see. Thinking about how we might approach this and looking at DC
manifests,
it seems there is already XML tag we could take advantage of here -
in particular we currently have following in <boot_archive> section:
<boot_archive>
<!--
If/how to compress the boot archive. Valid
types are gzip and none
-->
<compression type="gzip" level="9"/>
[...]
</boot_archive>
It is currently used only by x86 platform. I am thinking
that we could enhance its scope and use it for Sparc as well.
That would also help with DC manifests looking consistent
across platforms, since currently this x86 specific section
resides in Sparc DC manifests where it is irrelevant.
For Sparc manifests, that section might be modified in
following way:
<boot_archive>
<!--
If/how to compress files boot archive. Valid
types are 'dcfs' and 'none'.
For 'dcfs', uncomment related </boot_archive_contents>
section specifying list of files which have to be left
uncompressed.
-->
<compression type="none"/>
[...]
</boot_archive>
Please let me know if it might sound as a reasonable approach.
Sure, that seems like an improvement and relatively reasonable, though
I wonder if we could do something more automatic around per-file
compression determination based on file permissions or pkg attributes
on file actions.
I have filed following bug to track that effort:
6984882 Determination of files eligible for fiocompression should be
more automatic
Jan
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss