Essay - Published: 2020.11.22 | ssd | ubuntu |
DISCLOSURE: If you buy through affiliate links, I may earn a small commission. (disclosures)
I have a new Ubuntu install on my Lenovo P720. I want to mount the SSD I have to the home directory so I can save programs and files on it that I want to benefit from the faster read and write speeds.
We can't directly mount a drive inside another drive. But what we can do is mount our drive and link to it from inside another drive. This allows us to interact with it as if it was a drive inside another drive.
To mount an SSD:
Disk Utility programTo link a drive to another drive.
ln -s MOUNT_LOCATION LINK_LOCATIONFor example, in my case I wanted my SSD to be linked to from my home directory like ~/SSDDrive. My drive was mounted at /media/hamy/SSDDrive. So to create a link such that my SSD was accessible from my home directory, I ran:
ln -s /media/hamy/SSDDrive ~/SSDDrive
The best way to support my work is to like / comment / share for the algorithm and subscribe for future updates.