lofi(7D) compression support [PSARC/2007/569 FastTrack timeout 10/08/2007]

Alok Aggarwal Alok.Aggarwal at Sun.COM
Tue Oct 2 06:13:25 PDT 2007


On Tue, 2 Oct 2007, Don Cragun wrote:

>> Command Changes
>>   lofiadm(1M) will take the following additional arguments -
>>
>>   -C	Compress the file with a specified compression algorithm
>>   	or with the default compression algorithm if one isn't
>> 	specified. The only supported compression algorithm at this
>> 	time is gzip which is also the default.
>>
>>   -s   The segment size to use to divide the file being compressed.
>>   	If no segment size is specified, a default segment size of
>> 	128k is used.
>>
>
> Optional option arguments are not allowed by the utility syntax
> guidelines, and all of your examples show option arguments for both of
> these options even though they use the default values.  Please drop the
> statements in both of these option descriptions that specify default
> values and specify that the option arguments are optional.

I'll clarify.

> Since the -s segment size option argument is not "just a number",
> please also clearly specify the formats accepted and the allowed range
> of segment sizes.

Since lofi(7D) works on block boundaries, any value
that is a multiple of 512 bytes is theoretically an
acceptable value for the segment size. I'll add verbiage
around this.

Alok



More information about the opensolaris-arc mailing list