https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224498

            Bug ID: 224498
           Summary: ls -lh dose not display properly around 1MB, 1GB, ...
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

ls -lh dose not display properly around 1MB, 1GB, ...

I tested on FreeBSD 11.1-RELEASE-p4 and 12-Current r326890 as follows.

% dd if=/dev/zero of=test-around-1mb bs=1023500 count=1
1+0 records in
1+0 records out
1023500 bytes transferred in 0.000443 secs (2307981987 bytes/sec)
% dd if=/dev/zero of=test-around-1gb bs=1023500k count=1
1+0 records in
1+0 records out
1048064000 bytes transferred in 0.416685 secs (2515240183 bytes/sec)
% ls -l test-around-1*
-rw-r--r--  1 ishizuka  wheel  1048064000 Dec 21 19:27 test-around-1gb
-rw-r--r--  1 ishizuka  wheel     1023500 Dec 21 19:27 test-around-1mb
% ls -lh test-around-1*
-rw-r--r--  1 ishizuka  wheel   1000 Dec 21 19:27 test-around-1gb
-rw-r--r--  1 ishizuka  wheel   1000 Dec 21 19:27 test-around-1mb

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to