Disable read and write caches in HFS+ filesystem.
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