On 5/7/25 7:35 PM, Chris Adams wrote:
Once upon a time, ToddAndMargo <toddandma...@zoho.com> said:
Hi All,

Du sparse file question:

$ du KVM-W10.raw KVM-W11.raw SparceFile
       47_745_732       KVM-W10.raw
       50_635_356       KVM-W11.raw
       0                        SparceFile

is that KB or just B?  (Man page is no help.)

$ man du
[...]
        Display   values   are  in  units  of  the  first  available  SIZE  from
        --block-size, and the DU_BLOCK_SIZE, BLOCK_SIZE and  BLOCKSIZE  environ‐
        ment  variables.   Otherwise,  units  default  to  1024 bytes (or 512 if
        POSIXLY_CORRECT is set).



So bytes or KB?  If I specify --bytes on the line, I
get the apparent file size.  I am after the sparse size.
Apparent size defaults to KB.
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to