Coda File System

Re: Windows XP - Disk Usage


Date: Tue, 24 Oct 2006 09:45:57 -0600
Hi, Phil.

That is somewhat what I expected.  I did a bit of digging and found the
following registry key which might solve your issue.  Unfortunately, the
setting seems to be system wide and not drive specific.

Other then that the Windows XP client seems to be working like a
charm.



HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Value Name: NoLowDiskSpaceChecks [REG_DWORD]
0 = NoLowDiskSpaceChecks Disabled 
1 = NoLowDiskSpaceChecks Enabled


These seems to be the condition in which messages are displayed:

When free disk space reaches 200 megabytes (MB), you receive the
following message for 10 seconds, once per session:
	- You are running out of disk space on [drive]. To free space on
this drive by deleting old or unnecessary files, click here.

When free disk space reaches 80 MB, you receive the following message
for 30 seconds, every four hours, twice per session:
	- You are running very low on disk space on [drive]. To free
space on this drive by deleting old or unnecessary files, click here. 

When free disk reaches 50 MB, you receive the following message for 30
seconds, every five minutes, until free space is above 50 MB: 
	- You are running very low on disk space on [drive]. To free
space on this drive by deleting old or unnecessary files, click here. 



>>> Phil Nelson <phil_at_cs.wwu.edu> 10/23/2006 11:32 PM >>>
> One thing I did notice is that the disk usage reported by explorer
is
> off.  Explorer is reporting that the volume has one terabyte of disk
> space with 511 gigabytes free.  
> 
> Are these numbers off on purpose to fool Windows for some reason?

Sorry.  Those numbers are off.  I got real irritated at windows popping
up
the "your disk is nearly full" messages whenever the cache got full. 
(I
used to report the cache size and cache used numbers for the volume
size.)

I couldn't find a way to convince Windows to ignore the fact that the
disk
looked full.   So the way I did it was to produce weird numbers.

In the next beta I'll try to produce numbers closer to the cache size. 

I may report the capacity as twice the size of the cache and the use
as
the usage of the cache.  That way a full cache looks to windows that it
still
has a half empty disk and doesn't start popping up those annoying
"please
delete some files on this disk" windows.

--Phil

-- 
Phil Nelson                       NetBSD: http://www.NetBSD.org (
http://www.netbsd.org/ )
e-mail: [email protected]           Coda: http://www.coda.cs.cmu.edu (
http://www.coda.cs.cmu.edu/ )
http://www.cs.wwu.edu/nelson 
Received on 2006-10-24 11:43:20
Binary file ./codalist-2006/8104.html matches