URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13369>

                 Summary: Improve on documentation for %k and %b
                 Project: findutils
            Submitted by: ametzler
            Submitted on: Sam 11.06.2005 um 13:44
                Category: documentation
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 4.2.21
           Fixed Release: None

    _______________________________________________________

Details:

I am not happy with the current description of %k (and %b):

----
Amount of disk space occupied by the file, measured in 1K blocks
(rounded up).  This can be less than the length of the file if 
it is a sparse file (that is, it has ``holes'').
----

The number is _not_ rounded at all, but the "used diskspace" *really* is
different from %s/1024, as a file uses n blocks of size x for a given
fileystem with blocksize x. (i.e. a one-byte file uses 4096 bytes on my ~/, as
I am using ext3 with blocksize 4096).

Patch against CVS attached.
           cu andreas





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sam 11.06.2005 um 13:44  Name: correct-k-doc2.diff  Size: 2,38KB   By:
ametzler
proposed patch
<http://savannah.gnu.org/bugs/download.php?item_id=13369&item_file_id=2592>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13369>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to