Skip navigation.
 
mlRe: Getting the free disk space and aquamon.
FROM : Chris Ridd
DATE : Fri Dec 20 15:28:26 2002

On 20/12/02 11:25 am, Jonathan Guy <<email_removed>> 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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlGetting the free disk space and aquamon. Jonathan Guy Dec 20, 12:25
mlRe: Getting the free disk space and aquamon. Sherm Pendley Dec 20, 15:05
mlRe: Getting the free disk space and aquamon. Chris Ridd Dec 20, 15:28
mlRe: Getting the free disk space and aquamon. Andrew Dec 20, 17:15
mlRe: Getting the free disk space and aquamon. Buzz Andersen Dec 20, 22:12
mlRe: Getting the free disk space and aquamon. Buzz Andersen Dec 20, 22:47