• 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
Disable read and write caches in HFS+ filesystem.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Disable read and write caches in HFS+ filesystem.


  • Subject: Disable read and write caches in HFS+ filesystem.
  • From: Irad K <email@hidden>
  • Date: Mon, 30 Apr 2018 14:17:06 +0300

I've created empty HFS+ filesystem represented by dmg image file. For
security reasons I'd like to make sure every IO applies directly to the dmg
file and not through any kind of memory in the middle.

Is there any way to cancel the option for read and write caching while
mounting the filesystem?

During my research about this theme, I've discovered that HFS+ header
contain attributes field, and one of its containing bits in volume
attributes field named kHFSVolumeNoCacheRequiredBit. It set if we want that
blocks from this volume wouldn't not be cached, which is pretty much what I
need. However, i don't have a clue about how to set it on.

Any idea how to configure this volume properly (command-line, application,
API, etc .. ) ?

thanks,

Irad
 _______________________________________________
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: Disable read and write caches in HFS+ filesystem.
      • From: Irad K <email@hidden>
  • Prev by Date: Re: How to use mandatory file locking on afpfs volumes
  • Next by Date: Re: Disable read and write caches in HFS+ filesystem.
  • Previous by thread: Re: How to use mandatory file locking on afpfs volumes
  • Next by thread: Re: Disable read and write caches in HFS+ filesystem.
  • Index(es):
    • Date
    • Thread