Bug 335 - ls -k with BLOCKSIZE=K uses 2k blocks
Summary: ls -k with BLOCKSIZE=K uses 2k blocks
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-04-11 12:30 UTC by edward
Modified: 1995-04-11 12:30 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description edward 1995-04-11 12:30:03 UTC
	see below

Fix: 

Actually, it's only the binary that's screwed up.
	The source looks fine, and worked when I compiled and installed it.
	So.  Why am I reporting this?
How-To-Repeat: 
	setenv BLOCKSIZE K
	dd if=/dev/zero of=x bs=1k count=10
	/bin/ls -kls x
	says "5 -rw-r--r--  1 edward  staff  10240 Apr 11 12:12 x"
Comment 1 Joerg Wunsch freebsd_committer freebsd_triage 1995-04-13 23:15:13 UTC
State Changed
From-To: open->closed

The problem had already been fixed with revision 1.6 of ls.c by phk; 
this was just one day after the 950322 NSAP however.