• 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: Querying system-wide base for file size calculation (base-2 vs base-10)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Querying system-wide base for file size calculation (base-2 vs base-10)


  • Subject: Re: Querying system-wide base for file size calculation (base-2 vs base-10)
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 23 Nov 2011 11:31:39 -0800

On Nov 23, 2011, at 5:28 AM, Oleg Krupnov wrote:

> Previously, I've been using a simple switch: use 10-based for 10.6 and
> later, and 2-based for earlier versions of the Mac OS X, but I've
> learned that there are some utilities (e..g switchDiskSizeBase, see
> http://web.me.com/brkirch/brkirchs_Software/switchDiskSizeBase/switchDiskSizeBase.html)
> that modify the base system-wide.

Have you downloaded switchDiskSizeBase and looked at the source code to see how it works? Maybe when you see what it changes it’ll be clear how to read the same value back in your app.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Querying system-wide base for file size calculation (base-2 vs base-10)
      • From: Oleg Krupnov <email@hidden>
References: 
 >Querying system-wide base for file size calculation (base-2 vs base-10) (From: Oleg Krupnov <email@hidden>)

  • Prev by Date: Re: Is there an easier way of changing NSButtonCell state in an NSOutlineView
  • Next by Date: Re: Is there an easier way of changing NSButtonCell state in an NSOutlineView
  • Previous by thread: Querying system-wide base for file size calculation (base-2 vs base-10)
  • Next by thread: Re: Querying system-wide base for file size calculation (base-2 vs base-10)
  • Index(es):
    • Date
    • Thread