Quote:
Originally Posted by kovidgoyal
calibre uses only /tmp
On OS X, /tmp is usually a symlink pointing elsewhere.
|
Thanks. So if I understand correctly how symlinks work, that means I still don't know which temp folders to mount as ramdisks. I've done some testing, trying to adapt the script in the spoiler to mount relevant temp folders each to its own ramdisk at startup. Script is from a blog article (which took it from GitHub):
http://blog.alutam.com/2012/04/01/op.../#time-machine
https://raw.github.com/gist/931579/1...disk_MacOSX.sh
It works but doesn't speed up calibre startup or bulk conversions. Tried various ramdisk sizes. I added a line for another ramdisk for /var/folders which is where calibre conversions seem to happen on OS X. /var/folders actually mounts on ramdisk as /private/var/folders. But that didn't speed up bulk conversions either. So I commented out my extra added line.
Obviously I'm missing or misunderstanding something. I'm new to command line and symlink. Is there a way with command line to figure out exactly which folders the symlink /tmp points to?