• 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: How do I lock a volume the way First Aid does?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I lock a volume the way First Aid does?


  • Subject: Re: How do I lock a volume the way First Aid does?
  • From: Thomas Tempelmann <email@hidden>
  • Date: Mon, 27 Mar 2017 12:01:32 +0200

On Mon, Mar 27, 2017 at 11:32 AM, Quinn "The Eskimo!" <email@hidden> wrote:
Getting back to your actual question, my answer is more along the lines of what Brendan Shanks wrote.  Last I checked there was no public API for this, but the details are in the Darwin source.

I must admit didn't think Brendan's suggestion would be helpful because I assumed that fsck can only work on unmounted volumes (I'm sure that was the case at one point in the past), and that DFA would take its own steps to flush and freeze the boot volume before running fsck on it.

--
Thomas Tempelmann, http://www.tempel.org/
Follow me on Twitter: https://twitter.com/tempelorg
Read my programming blog: http://blog.tempel.org/
 _______________________________________________
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

References: 
 >How do I lock a volume the way First Aid does? (From: Thomas Tempelmann <email@hidden>)
 >Re: How do I lock a volume the way First Aid does? (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: How do I lock a volume the way First Aid does? (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: How do I lock a volume the way First Aid does?
  • Next by Date: APFS - Public snapshot posix API
  • Previous by thread: Re: How do I lock a volume the way First Aid does?
  • Next by thread: APFS - Public snapshot posix API
  • Index(es):
    • Date
    • Thread