I have thousands and thousand of small cache files that I don't want
to be written to the disk, and if I create a traditional RAM disk in
OS X there is a lot of overhead, cause the filesystem will cache all
files twice.
Does anyone know if there is a tmpfs-like filesystem for OS X?
Slightly OT, since I believe these tools don't exist in Darwin...
Checkout the manpage for hdid(8):
hdid -nomount ram://<sectors>
will attach a ram disk that can be mounted and used after
being formatted with a newfs utility or Disk Utility.app.
A sector is 512 bytes.
A small shell script to create and mount a ram disk:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden