• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting the free disk space and aquamon.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Getting the free disk space and aquamon. (From: Jonathan Guy <email@hidden>)

  • Prev by Date: Re: Getting the free disk space and aquamon.
  • Next by Date: Re: OpenGL Examples broken in 10.2.3---where is OS X 10.2.3
  • Previous by thread: Re: Getting the free disk space and aquamon.
  • Next by thread: Re: Getting the free disk space and aquamon.
  • Index(es):
    • Date
    • Thread