I was wondering how can i install boinc at /home folder. I have an ssd for root and /home on a hdd. Since boinc does lot of write/read i would like to avoid installing it on my ssd (which i already did via muon). I have trim enabled and working but i would still like to get it on my hdd. Do i have to uninstall/reinstall boinc and if yes how do i install it at /home folder? Thanks in advance :)
Asked
Active
Viewed 970 times
1 Answers
5
There's no need to install application files to your HDD - as any other program files they're very rarely written to. What you need to do is to make BOINC keep its data files on the SSD. From their website:
What the installer does
- Puts the BOINC binaries (boinc, boinccmd and boincmgr) in /usr/bin .
- Creates a configuration directory /etc/boinc-client ...
- Creates the working directory /var/lib/boinc-client/ for BOINC data files and the slots and projects directories. Also creates links from this directory to the files in /etc/boinc-client
So what I would do is to install BOINC first, then move /var/lib/boinc-client/ to somewhere on your SSD (taking care to keep permissions) and create a symlink at /var/lib/boinc-client/ pointing to the new location
(alternatively you may check the configs in /etc/boinc-client and see if it's possible to change the data directory from there)
UPDATE: How to create a symlink:
make sure BOINC is not running
move the directory:
sudo mv /var/lib/boinc-client /home/boinc-working-dircreate the symlink:
sudo ln -s /home/boinc-working-dir /var/lib/boinc-client
waldyrious
- 2,207
Sergey
- 44,353