[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Determining free disk space



Mime-version: 1.0
X-Priority: 3
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit

Following Paul's reply, I found a routine called 'PBHGetVInfo' on the Inside
Macintosh website which sounds like it does what I want, but I don't know
how to call it from perl...

Do I need CodeWarrior or something to compile code that Perl can use?

----------
>From: Chris Nandor <pudge@pobox.com>
>To: schinder@pobox.com
>Subject: Re: [MacPerl] Determining free disk space
>Date: Mon, Oct 11, 1999, 2:22 pm
>

> At 8:09 -0400 1999.10.11, schinder@pobox.com wrote:
>>You could use File::Find to laboriously walk the tree and total up the
>>size of every file it found.  But if I were you, I'd be hunting
>>through "Inside Macintosh" and the Mac Toolbox pods with Shuck to find
>>the call it uses to give you the total disk usage when you "command-I"
>>a disk.  That seems to be instantaneous, even on a netatalk mounted
>>disk on the Linux machine.  Then, if MacPerl gives you access to that
>>routine, the problem is solved.
>
> If you do not find the routine in the toolbox, let us know what it is, and
> maybe someone can code it up and supply it.
>
> --
> Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
> %PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org