Date: Thu, 21 Dec 2017 10:36:57 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 224498] ls -lh dose not display properly around 1MB, 1GB, ... Message-ID: <bug-224498-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224498 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: freebsd-bugs@FreeBSD.org Reporter: ish@amail.plala.or.jp 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=3D/dev/zero of=3Dtest-around-1mb bs=3D1023500 count=3D1 1+0 records in 1+0 records out 1023500 bytes transferred in 0.000443 secs (2307981987 bytes/sec) % dd if=3D/dev/zero of=3Dtest-around-1gb bs=3D1023500k count=3D1 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224498-8>