Connecting the paging file (SWAP) in MAC OS X when using an external SSD-disk as a system
3r3-31. Good day, dear comrades!
I want to leave a very short message here in order for people who have a problem similar to mine not to spend too much time on its solution.
Once, I had to think about one small puzzle. There is an iMac computer, there is a successfully installed OS X Sierra on an external, USB-connected SSD-disk, and there is a strange, surprising, and at the same time - complete, lack of a paging file.
Answer on Toaster . And a hundred more pages read forums and blogs on the Internet.
sudo diskutil mount -mountPoint /private /var /vm `diskutil ap list | grep VM | awk -F '' '/d /{print $ 5}' `
I ask you to draw your attention to the back quotes that limit the filter itself after linking several commands, which by their output simply define the argument of the mount command - the exact name (number) of the disk, which in the set with others, is marked as VM. At the moment, what I see is disk4s4. But, when a second or another third external disk is connected to the all-in-one, the name of the disk labeled as VM can easily be such: disk5s? and such: disk6s4. One more thing. Between simple vertical quotes in the "awk -F ''" fragment - (immediately after the letter F there are two quotes) - there is a space. That is, once again - between single quotes after F - SPACE (!). But, just in case. Experienced beavers will immediately find the way out of their hut. :-)
For those people who do not have any connected external drives, or their set is always constant - everything is much simpler. For automation, you can use just one mount command for a very specific disk, having previously obtained its name using 3r377.
diskutil ap list
Sorry, hands have not yet reached absolute automation, but I hope to add more soon.
If someone with a similar problem - “does not take off” - well, let's try to discuss this
It may be interesting
weber
Author28-10-2018, 23:28
Publication DateDevelopment / Programming
Category- Comments: 0
- Views: 221
Can I find someone to write my paper for me free? At our cheap for-pay academic help service with writers across all subjects. Discover more about us here. write a paper online free
vitamin tablets