Create and use a swapfile on another disk
I have an 8TB Thunderbolt external drive that I now use
as my boot/system/everything drive. My system is much
faster now even if I am doing video editing etc on it ... it's
pretty amazing.
Since I no longer use the internal 1 TB drive I thought I
would play around with it and try to find a use for it. What
I wanted to do is to create a swap file and configure the
kernel to use it instead of also trying to swap to my
Thunderbolt disk, even though the system does not seem
slow swapping to Thunderbolt.
Typically on a UNIX system, from experience, this is done by
creating a swap file though some means like mkswapfile or
something, and then issuing a command such as swapon to
get the system to recognize and use it. Then when you got
it where you want it and it is working, you put a command or
edit the command already in the rc files to reconfigure your
machine -- of course after backing up the initial files so you
can get back to normal if desired.
However, OSX always throws me for a UNIX loop because it
is so different and so not well documented ... at least as far
as I can find any good documentation on Mac UNIX.
Can anyone help me or point me to some good docs on this
or a good book please?
iMac, OS X Mountain Lion (10.8.2), 24 inch