Kinda Funny Windows Bug my 6 byte documents show up as 1KB in explorer view (see screenshot)

  • Thread starter Thread starter Christian Blackburn
  • Start date Start date
C

Christian Blackburn

Hi Gang,
I just thought you might all get a kick out of this enormous rounding bug in
Windows Explorer (Win2K Pro Sp4). You see my 6 byte document is listed as
1KB instead of 0KB which is what it would of course round to. 6 bytes is 6
spaces from 0KB or 994 from 1KB you tell me which should it round to?
http://www.rawsacramento.org/~christian/misc/1 KB My Ass.gif
Cheers,
Christian
 
Christian,
A document from 6*8 bits takes as a file on disk or something much more
room.
There are minimums to write a file and there is file information too in it .
It even can be on one disk less bytes than on the other, depending on things
as the way of partition.
I hope this helps you 2/8 byte
Cor
 
Hi Cor,
I agree that files occupy varying amounts of physical disk space based on
the current partition's cluster size, but that's not the file size is it?
That's the physical usage of the disk. Those are two different things. If
the OS actually reported the cluster space occupied by files the "file size"
reported wouldn't be of much informational value. Think about it, if you
had one file that was one byte and another that was 31KB on a 32KB cluster
size disk they'd both be reported as 32KB in size which couldn't be further
from the truth. For that very reason if you choose properties over a file
you'll see "Size on Disk: 8.00 KB (8,192 bytes)" in addition to the file
size. You may have also just noticed that the 6KB file is stored on a drive
with an 8KB cluster size :).
Cheers,
Christian
 
Hello,

Christian Blackburn said:
I just thought you might all get a kick out of this enormous
rounding bug in Windows Explorer (Win2K Pro Sp4).
You see my 6 byte document is listed as 1KB instead of 0KB
which is what it would of course round to. 6 bytes is 6
spaces from 0KB or 994 from 1KB you tell me which
should it round to?

They have changed rounding behavior in Windows XP. Here are links to
_German_ language about Windows XP's rounding behavior:

Q510325 - INFO: Rundungsverhalten unter Microsoft Windows XP geändert
http://support.microsoft.com/default.aspx?scid=kb;de;510325

Q196652 - Implementierung benutzerdefinierter Rundungsverfahren
http://support.microsoft.com/default.aspx?scid=kb;de;196652
 
Christian Blackburn said:
Hi Gang,
I just thought you might all get a kick out of this enormous rounding bug in
Windows Explorer (Win2K Pro Sp4). You see my 6 byte document is listed as
1KB instead of 0KB which is what it would of course round to. 6 bytes is 6
spaces from 0KB or 994 from 1KB you tell me which should it round to?
http://www.rawsacramento.org/~christian/misc/1 KB My Ass.gif
Cheers,
Christian

I would expect this behaviour. The only file I would expect to be displayed
as 0KB is a 0 byte file. Displaying anything bigger than 0 bytes as 0KB
would be confusing to many users.
 
Matter of taste ?,

Pardon me but I hardly think so. There is only one answer here and that's
the right one.

The fact that I dont know the answer has nothing to do with it. ;-D

However, I would have thought that it may be the sector size. After all, the
smallest file size will be the smallest container unit on the disk. In fact
as you start filling above the 1K boundry you will see it jump to 2K.

Feell free to flame me if Im wrong


OHM
 
No flames from me !?!, only the ones on my gas cooker :-)

I think it works as I would expect.
 
Back
Top