mainGNU tar - Support: sr #111254, IEC conform suffix Units (manpage)

 
 

sr #111254: IEC conform suffix Units (manpage)

Submitter:  None
Submitted:  Sun 08 Jun 2025 09:26:45 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  1 - Wish Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 08 Jun 2025 09:26:45 PM UTC, original submission:  

Some time ago IEC tried to make decimal and binary multiples better differentiable, but was probably to late and it's still a whole mess.
(IEC 80000:13, IEC 60027-2, ???)

It would be nice if tar would be iec conform on it's manpage.

   Size suffixes
               Suffix    Units                   Byte Equivalent
               b         Blocks                  SIZE x 512
               B         Kilobytes               SIZE x 1024
               c         Bytes                   SIZE
               G         Gigabytes               SIZE x 1024^3
               K         Kilobytes               SIZE x 1024
               k         Kilobytes               SIZE x 1024
               M         Megabytes               SIZE x 1024^2
               P         Petabytes               SIZE x 1024^5
               T         Terabytes               SIZE x 1024^4
               w         Words                   SIZE x 2


A quick fix, with less legacy headache, would be to "just" rename the Units column.

Full IEC conformity would probably break someā„¢ scripts out in the wild. So suffixes should stay untouched.
Maybe with an additional note  tar uses Binary multiples even tho it uses SI Suffix's. (Except "K")

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code