jan damborsky wrote:
> Hi Jean,
>
> the changes look good to me.
>
> Uut of curiosity, since DIST_PROTO is created on zfs dataset,
> might be 'used' property utilized for obtaining size information ?
> Something like
> # zfs get -Hp used <proto_zfs_dataset>
>
> I am not asking to change the code, just curious :-)
I think I could use that.  I'm curious though. If I do
df -k /rpool/dc-builds

Filesystem            kbytes    used   avail capacity  Mounted on
rpool/dc-builds      63479808 2102448 54479705     4%    /rpool/dc-builds


yet zfs get -Hp used rpool/dc-builds yields:
rpool/dc-builds    used    2814928384    -


Why are they different? Even compensating for the df -k being kbytes 
it's not the same number.
(2102448 x 1024 = 2152906752)

My guess is that there are subtle differences between what they are 
giving the size of. I'm
just not sure what that subtlety is.

Jean

>
> Thank you,
> Jan
>
>
> Jean McCormack wrote:
>> Moinak, Jan and Sanjay should look at this:
>>
>> The changes are here:
>>
>> http://cr.opensolaris.org/~jeanm/distro_constructor/
>>
>>
>> The changes address:
>>
>> http://defect.opensolaris.org/bz/show_bug.cgi?id=844
>> http://defect.opensolaris.org/bz/show_bug.cgi?id=845
>> http://defect.opensolaris.org/bz/show_bug.cgi?id=852
>>
>>
>> Jean
>>
>> _______________________________________________
>> caiman-discuss mailing list
>> caiman-discuss at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>


Reply via email to