• 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: HFS or HFS+? That is the statfs question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HFS or HFS+? That is the statfs question


  • Subject: Re: HFS or HFS+? That is the statfs question
  • From: Michael Smith <email@hidden>
  • Date: Sat, 27 May 2006 13:06:40 -0700


On May 26, 2006, at 3:49 PM, email@hidden wrote:

Message: 5
Date: Fri, 26 May 2006 22:38:26 +0200
From: Stephane Sudre <email@hidden>
Subject: HFS or HFS+? That is the statfs question
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed

With the statfs API you can know the kind of File System a file (or
path) lives on.

The problem is that this API returns "hfs" for an HFS+ (journalized
should I add) volume.

Is there a quick way to know this is actually a HFS+ File System
(typical block size?).

Why do you care?

Typically you don't need this information directly, rather you want to infer something from it.

Where possible, you should obtain the specific information you need directly. There are a number of interfaces (pathconf(2), getattrlist (2)) that exist to make this easier.

 = Mike


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: HFS or HFS+? That is the statfs question
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Re: HFS or HFS+? That is the statfs question
  • Next by Date: Re: HFS or HFS+? That is the statfs question
  • Previous by thread: Re: HFS or HFS+? That is the statfs question
  • Next by thread: Re: HFS or HFS+? That is the statfs question
  • Index(es):
    • Date
    • Thread