• 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: FSGetVolumeMountInfoSize returns error -36?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FSGetVolumeMountInfoSize returns error -36?


  • Subject: Re: FSGetVolumeMountInfoSize returns error -36?
  • From: Chris Suter <email@hidden>
  • Date: Fri, 20 Aug 2010 07:40:53 +1000

Hi James,

On Fri, Aug 20, 2010 at 2:10 AM, James Bucanek <email@hidden> wrote:

I agree that your solution is simpler, and (in retrospect) I'm sure it would work just fine. I considered something like that when I began, but that solution makes an awful lot of assumptions--assumptions about how the OS names devices, assumptions about how those names relate to hierarchal organization of those devices, and so on. That was more assumptions that I was conformable making.

I wasn't making any assumptions. The code that allocates BSD device names is open source and it uses the IORegistry hierarchy to choose the unit numbers. When it encounters an IOMedia object with the “wholeDisk” property set to true, it allocates a new base unit number. If you’re interested, look at IOMediaBSDClient.cpp which is part of IOStorageFamily.

I suppose you could argue that they might change the way it works, but I think that is very unlikely—it would probably break other things, and I can’t see why they would need or want to.

Kind regards,

Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: FSGetVolumeMountInfoSize returns error -36?
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
References: 
 >Re: FSGetVolumeMountInfoSize returns error -36? (From: Chris Suter <email@hidden>)
 >Re: FSGetVolumeMountInfoSize returns error -36? (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: FSGetVolumeMountInfoSize returns error -36?
  • Next by Date: Re: FSGetVolumeMountInfoSize returns error -36?
  • Previous by thread: Re: FSGetVolumeMountInfoSize returns error -36?
  • Next by thread: Re: FSGetVolumeMountInfoSize returns error -36?
  • Index(es):
    • Date
    • Thread