Re: Getting the free disk space and aquamon.
Re: Getting the free disk space and aquamon.
- Subject: Re: Getting the free disk space and aquamon.
- From: Chris Ridd <email@hidden>
- Date: Fri, 20 Dec 2002 14:28:26 +0000
On 20/12/02 11:25 am, Jonathan Guy <email@hidden> wrote:
>
Hi
>
I'm trying to figure out how to get the free disk space of the boot
>
"disk", NOT the boot "partition". Can anyone help on this one I've racked my
>
brains for days over this one and haven't gotten anywhere.
All the partitions on a given disk have related BSD device names, so if you
can work out the partition that holds /, you can find all the other devices
with related names.
Eg my box has / on /dev/disk0s5, so you'd look for everything with
/dev/disk0s*. I've only got one partition though :-)
I guess look at the df program to see how it gets the device names and
enumerates the mounted devices?
Cheers,
Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.