From: "Tolkin, Steve" <[EMAIL PROTECTED]>
Date: Wed, 24 Jul 2002 18:06:13 -0400
I have been looking for something like this also.
But I tried this on Windows NT 4 SP 6a,
and it failed it two ways:
1. getpwuid($uid) failed
Hmm. Don't know much about the MS world myself, though I do know that
$uid is valid only on NTFS. But perhaps there is a different API for
getpwuid?
In any case, if $uid is meaningful, then you could always categorize
by the raw $uid value . . .
2. blocks was always the zero length string.
Any suggestions?
I could sum $size instead of $blocks I suppose.
That should be close enough. In Unix, $blocks is approximately
ceiling($size/$block_size), where $block_size is traditionally 512 but
usually at least 1024 these days, but includes overhead such as
intermediate pointer blocks.
-- Bob